zulip/templates/zerver/for
Rohitt Vashishtha f9caf522f0 markdown: Allow setting a default language for code blocks.
This adds a new realm setting: default_code_block_language.

This PR also adds a new widget to specify a language, which
behaves somewhat differently from other widgets of the same
kind; instead of exposing methods to the whole module, we
just create a single IIFE that handles all the interactions
with the DOM for the widget.

We also move the code for remapping languages to format_code
function since we want to preserve the original language to
decide if we override it using default_code_clock_language.

Fixes #14404.
2020-04-09 16:02:02 -07:00
..
companies.md portico: Typographical nitpicking. 2020-03-17 16:53:46 -07:00
mystery-hunt.md portico: Typographical nitpicking. 2020-03-17 16:53:46 -07:00
open-source.md markdown: Allow setting a default language for code blocks. 2020-04-09 16:02:02 -07:00
working-groups-and-communities.md portico: Typographical nitpicking. 2020-03-17 16:53:46 -07:00