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',
|
'alwaysShowTimestamps',
|
||||||
'showRedactions',
|
'showRedactions',
|
||||||
'enableSyntaxHighlightLanguageDetection',
|
'enableSyntaxHighlightLanguageDetection',
|
||||||
|
'expandCodeByDefault',
|
||||||
'showJoinLeaves',
|
'showJoinLeaves',
|
||||||
'showAvatarChanges',
|
'showAvatarChanges',
|
||||||
'showDisplaynameChanges',
|
'showDisplaynameChanges',
|
||||||
|
|
|
@ -300,6 +300,11 @@ export const SETTINGS: {[setting: string]: ISetting} = {
|
||||||
displayName: _td('Enable automatic language detection for syntax highlighting'),
|
displayName: _td('Enable automatic language detection for syntax highlighting'),
|
||||||
default: false,
|
default: false,
|
||||||
},
|
},
|
||||||
|
"expandCodeByDefault": {
|
||||||
|
supportedLevels: LEVELS_ACCOUNT_SETTINGS,
|
||||||
|
displayName: _td('Expand code blocks by default'),
|
||||||
|
default: false,
|
||||||
|
},
|
||||||
"Pill.shouldShowPillAvatar": {
|
"Pill.shouldShowPillAvatar": {
|
||||||
supportedLevels: LEVELS_ACCOUNT_SETTINGS,
|
supportedLevels: LEVELS_ACCOUNT_SETTINGS,
|
||||||
displayName: _td('Show avatars in user and room mentions'),
|
displayName: _td('Show avatars in user and room mentions'),
|
||||||
|
|
Loading…
Reference in a new issue