Skip to content

3.7.1

Compare
Choose a tag to compare
@Witiko Witiko released this 30 Sep 15:24
· 191 commits to main since this release
8e72680

Development:

  • Remove dependency on UnicodeData.txt. (#400, #458 #486, #492, #499)

    This change improves the speed of parsing markdown input by up to 25% for a cold conversion run and makes life easier for users of TeX distributions other than TeX Live, such as MikTeX and ConTeXt Standalone, where UnicodeData.txt may not be as easily available. This change also adds a new file markdown-unicode-data.lua, which must be properly installed with the rest of the Markdown package.

  • Add renderers warning and error that represent warnings and errors produced by the markdown parser. (#452, #473, #496)

Fixes:

  • Properly load LaTeX themes when theme or import is used in \usepackage[...]{markdown}. (#471, #498)
  • Prevent endless loop when setting deprecated jekyllDataString renderer (prototype). (#500)
  • Correctly handle backslashes in \markdownOptionOutputDir on Windows. (#492, #500, reported by @l0th3r)
  • Fix hard line breaks in blockquotes. (#494, #495, reported by @l0th3r, #496, contributed by @lostenderman)

Deprecation:

  • Soft-deprecate the hybrid option. (#470, #504, 546faa8)

    Instead of using the hybrid option, consider one of the following better alternatives for mixing TeX and markdown:

    • With the contentBlocks option, authors can move large blocks of TeX code to separate files and include them in their markdown documents as external resources.
    • With the rawAttribute option, authors can denote raw text spans and code blocks that will be interpreted as TeX code.
    • With options texMathDollars, texMathSingleBackslash, and texMathDoubleBackslash, authors can freely type TeX math between dollar signs or backslash-escaped brackets.

    Soft-deprecated features will never be removed but using them prints a warning and is discouraged.