zulip/zerver/lib/bugdown
Rohitt Vashishtha ce6c57b714 markdown: Set default code block language for quotes and latex as well.
In the original implementation, we were checking for the default language
inside format_code, which resulted in the setting being ignored when set to
quote, math, tex or latex. We shift the validation to `check_for_new_fence`

We also update the tests to use a saner naming scheme for the variables.
2020-04-23 17:51:01 -07:00
..
__init__.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
api_arguments_table_generator.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
api_code_examples.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
fenced_code.py markdown: Set default code block language for quotes and latex as well. 2020-04-23 17:51:01 -07:00
help_emoticon_translations_table.py templates: Fix more low-hanging HTML validation problems. 2019-04-23 13:00:59 -07:00
help_relative_links.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
help_settings_links.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
include.py python: Whitespace fixes from autopep8. 2020-04-21 17:58:09 -07:00
nested_code_blocks.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
tabbed_sections.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
testing_mocks.py python: Modernize legacy Python 2 syntax with pyupgrade. 2020-04-09 16:43:22 -07:00
tlds-alpha-by-domain.txt [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00