diff --git a/static/js/composebox_typeahead.js b/static/js/composebox_typeahead.js index 794e7a0ae9..11e8fedcaa 100644 --- a/static/js/composebox_typeahead.js +++ b/static/js/composebox_typeahead.js @@ -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; }