Added option to hide line numbers

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2021-01-21 13:08:55 +01:00
parent c737543114
commit da09362f99
No known key found for this signature in database
GPG key ID: 9760693FDD98A790
3 changed files with 10 additions and 2 deletions

View file

@ -305,6 +305,11 @@ export const SETTINGS: {[setting: string]: ISetting} = {
displayName: _td('Expand code blocks by default'),
default: false,
},
"showCodeLineNumbers": {
supportedLevels: LEVELS_ACCOUNT_SETTINGS,
displayName: _td('Show line numbers in code blocks'),
default: true,
},
"Pill.shouldShowPillAvatar": {
supportedLevels: LEVELS_ACCOUNT_SETTINGS,
displayName: _td('Show avatars in user and room mentions'),