##// END OF EJS Templates
Fix issue #5877 with tests...
Fix issue #5877 with tests This pull request prevent to have lists environments inside the headings cells which break latex code. - First, the function `markdown2latex` has been changed in order to accept a markup keyword for pandoc reader, default to `markdown` as before(`test_markdown.py` updated too). - Headings cells are treated with markup `markdown_strict+tex_math_dollars` to remove enhancements of pandoc for lists and add math support. - Secondly, `prevent_list_blocks` filter escape characters `. - * +` in headings cells to prevent `enumerate` or `itemize` environments in latex sections(test added in `test_strings.py` Test files accessible at: <https://gist.github.com/benjaminabel/4a40d1300dcf087c8695&gt;

File last commit:

r11033:fa36e98f
r18427:7b2e741d
Show More
__init__.py
0 lines | 0 B | text/x-python | PythonLexer