mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: new site setting 'code formatting style'
This commit is contained in:
@@ -1055,6 +1055,7 @@ en:
|
||||
quote_text: "Blockquote"
|
||||
code_title: "Preformatted text"
|
||||
code_text: "indent preformatted text by 4 spaces"
|
||||
paste_code_text: "type or paste code here"
|
||||
upload_title: "Upload"
|
||||
upload_description: "enter upload description here"
|
||||
olist_title: "Numbered List"
|
||||
|
||||
@@ -1315,6 +1315,8 @@ en:
|
||||
auto_close_messages_post_count: "Maximum number of posts allowed in a message before it is automatically closed (0 to disable)"
|
||||
auto_close_topics_post_count: "Maximum number of posts allowed in a topic before it is automatically closed (0 to disable)"
|
||||
|
||||
code_formatting_style: "Code button in composer will default to this code formatting style"
|
||||
|
||||
default_email_digest_frequency: "How often users receive summary emails by default."
|
||||
default_include_tl0_in_digests: "Include posts from new users in summary emails by default. Users can change this in their preferences."
|
||||
default_email_private_messages: "Send an email when someone messages the user by default."
|
||||
|
||||
@@ -511,6 +511,13 @@ posting:
|
||||
min: 0
|
||||
auto_close_messages_post_count: 500
|
||||
auto_close_topics_post_count: 10000
|
||||
code_formatting_style:
|
||||
client: true
|
||||
type: enum
|
||||
default: '4-spaces-indent'
|
||||
choices:
|
||||
- 4-spaces-indent
|
||||
- code-fences
|
||||
|
||||
email:
|
||||
email_time_window_mins:
|
||||
|
||||
Reference in New Issue
Block a user