mirror of https://github.com/zulip/zulip.git
typeahead: Advertise default codeblock language.
This commit is contained in:
parent
7e9024a39c
commit
12836d6f0a
|
@ -920,6 +920,13 @@ function get_header_text() {
|
|||
case 'silent_mention':
|
||||
tip_text = i18n.t('User will not be notified');
|
||||
break;
|
||||
case 'syntax':
|
||||
if (page_params.realm_default_code_block_language !== '') {
|
||||
tip_text = i18n.t("Default is __language__. Use 'text' to disable highlighting.",
|
||||
{language: page_params.realm_default_code_block_language});
|
||||
break;
|
||||
}
|
||||
return false;
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue