mirror of https://github.com/zulip/zulip.git
c028815385
This updates Bugdown to reflect the changes in the updated markdown. In particular, we now pass a default config object in the __init__ for the Bugdown extension, update the make_md_engine function to take kwargs as opposed to a config list, and have UListProcessor inherit from ulist as opposed to olist (which no longer works). We update the (forked from upstream) fenced_code extension's makeExtension to take args and kwargs, and update FencedBlockPreprocessor __init__ method with updated Codehilite arguments. We update the (forked from upstream) Codehilite extension to mirror the logic with the latest upstream Codehilite: Add parse_hl_lines function update makeExtension to take args and kwarfs instead of config list Add regex for highlight lines use linenums instead of linenos use get_formatter_by_name instead of HtmlFormatter user get_lexer_by_name instead of TextLexer add hl_lines and use_pygments arguments to the codehlite constructor |
||
---|---|---|
.. | ||
fixtures | ||
lib | ||
management | ||
migrations | ||
templatetags | ||
tests | ||
views | ||
worker | ||
__init__.py | ||
context_processors.py | ||
decorator.py | ||
exceptions.py | ||
filters.py | ||
forms.py | ||
logging_handlers.py | ||
middleware.py | ||
models.py | ||
static_header.txt | ||
storage.py | ||
tornadoviews.py |