Added expand code block option
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
7f51553723
commit
7f727be4f6
2 changed files with 6 additions and 0 deletions
|
@ -46,6 +46,7 @@ export default class PreferencesUserSettingsTab extends React.Component {
|
|||
'alwaysShowTimestamps',
|
||||
'showRedactions',
|
||||
'enableSyntaxHighlightLanguageDetection',
|
||||
'expandCodeByDefault',
|
||||
'showJoinLeaves',
|
||||
'showAvatarChanges',
|
||||
'showDisplaynameChanges',
|
||||
|
|
|
@ -300,6 +300,11 @@ export const SETTINGS: {[setting: string]: ISetting} = {
|
|||
displayName: _td('Enable automatic language detection for syntax highlighting'),
|
||||
default: false,
|
||||
},
|
||||
"expandCodeByDefault": {
|
||||
supportedLevels: LEVELS_ACCOUNT_SETTINGS,
|
||||
displayName: _td('Expand code blocks by default'),
|
||||
default: false,
|
||||
},
|
||||
"Pill.shouldShowPillAvatar": {
|
||||
supportedLevels: LEVELS_ACCOUNT_SETTINGS,
|
||||
displayName: _td('Show avatars in user and room mentions'),
|
||||
|
|
Loading…
Reference in a new issue