The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Rocket.Chat/app/katex/server/settings.js

36 lines
789 B

import { Meteor } from 'meteor/meteor';
import { settings } from '../../settings';
Meteor.startup(function() {
const enableQuery = {
_id: 'Katex_Enabled',
value: true,
};
settings.add('Katex_Enabled', true, {
type: 'boolean',
group: 'Message',
section: 'Katex',
public: true,
i18n: 'Katex_Enabled_Description',
});
settings.add('Katex_Parenthesis_Syntax', true, {
type: 'boolean',
group: 'Message',
section: 'Katex',
public: true,
enableQuery,
i18nDescription: 'Katex_Parenthesis_Syntax_Description',
});
return settings.add('Katex_Dollar_Syntax', false, {
type: 'boolean',
group: 'Message',
section: 'Katex',
public: true,
enableQuery,
i18nDescription: 'Katex_Dollar_Syntax_Description',
});
});
// ---
// generated by coffee-script 1.9.2