Skip to content

Releases: Witiko/markdown

3.0.0

25 Aug 21:41
dcaea6c
Compare
Choose a tag to compare

Development:

Fixes:

  • Reset current heading level at the end of a markdown document. (1261e6f)
  • Fix out-of-memory issues with CommonMark implementation. (#308, #318, 28650b8)
  • Fix rawAttribute option being enabled in Lua by default. (92c9ac2)
  • Make our implementation of attributes compatible with jgm/pandoc. (jgm#68, #304, #343, contributed by @Omikhleia)

Documentation:

Unit Tests:

Continuous Integration:

  • In draft pull requests, do not build documentation or examples and do not run pkgcheck. (#337, #338, 189bb15)
  • Push temporary Docker images to GitHub Packages. (#340, #341, d15ae88, 7e42e84)

For a full list of changes between versions 2.23.0 and 3.0.0, see also the release notes for versions 3.0.0-alpha and 3.0.0-alpha.2.

3.0.0-alpha.2

01 Aug 00:08
e7dcc29
Compare
Choose a tag to compare

Development:

Default Renderer Prototypes:

  • Correctly handle multiple heading identifiers. (3ae1b0d)
  • Add alt text to figures. (#312)

Documentation:

Unit Tests:

  • Rewrite the unit testing framework from Bash to Python and implement summarization. (#245, #314)

3.0.0-alpha

27 Jun 21:38
2a52de2
Compare
Choose a tag to compare

Development:

Documentation:

Default Renderer Prototypes:

  • Do not force line breaks after headings in LaTeX. (df8562c)

Deprecation:

  • Remove deprecated parts of the package. (#309)
  • Remove support for LuaMetaTeX. (#226)

Fixes:

2.23.0

27 Apr 15:37
0b22f91
Compare
Choose a tag to compare

Development:

  • Add support of bulk redefinition of token renderers and token renderer prototypes in the \markdownSetup LaTeX command using wildcards. (#232, #287)

Fixes:

  • Drop support for ConTeXt Mark II, since the MkII files are no longer installed in TeX Live 2023, see the article by Hans Hagen. (#281, #282)
  • Remove extra space after inline elements with attributes. (#288)
  • Make our implementation of attributes compatible with jgm/pandoc. (#279, #297, f7c701b)

Documentation:

Docker:

Refactoring:

  • Use \prg_new_conditional:Nnn to define \@@_if_option:n. (#289)

Libraries:

Default Renderer Prototypes:

  • Make the default LaTeX renderer prototypes for tight lists produce surrounding spaces. (#290, #296)

2.22.0

02 Apr 21:49
5a3d0fe
Compare
Choose a tag to compare

Development:

Documentation:

  • Unify how Pandoc syntax extensions are named and cited in documentation. (#274, #284)

Refactoring:

  • Only configure the Kpathsea library if it has not already been configured. (#268, #283)

Deprecation:

2.21.0

28 Feb 02:00
ee15b88
Compare
Choose a tag to compare

Development:

  • Add renderers that represent the sections implied by headings. (#258, #264)
  • Add support for slicing fenced divs. (#229, #266)
  • Add support for TeX math surrounded by dollar signs. (contributed by @lostenderman, #61, #216, #267)

Fixes:

Documentation:

Deprecation:

  • Deprecate the current semantics of header attribute contexts. (#258, #264)
  • Deprecate hardLineBreaks option. (#227, #263)

2.20.0

01 Feb 17:22
Compare
Choose a tag to compare

Development:

Documentation:

Fixes:

Default Renderer Prototypes:

  • Use paralist LaTeX package to define default renderer prototypes for fancy lists when fancyList Lua option is enabled. (#241)
  • Insert \unskip after default raw inline renderer prototype. (ca2047e)
  • Make \*group_begin: and \*group_end: the default renderer prototypes for attribute contexts. (#243)
  • In LaTeX and ConTeXt, use just first word of infostring to determine fence code block language. (#244)

Unit Tests:

Speed Improvements:

  • Only make backticks special when codeSpans or fencedCode are enabled. (#239)
  • Use fast unit testing in continuous integration. (#231, #255)

Continuous Integration:

  • Fix ownership of repository before running Docker image. (#240)

2.19.0

23 Dec 00:14
80fcf20
Compare
Choose a tag to compare

Development:

  • Add support for fenced divs and bracketed spans. (#126, #207)

Fixes:

  • Fix incorrect category codes in plain TeX renderer prototype definitions. (f156f05)
  • Allow backticks in tilde code block infostrings. (#214, #219, #221)

Refactoring:

  • Sort Lua options, token renderers, and built-in syntax extensions. (#208)

Documentation:

Continuous Integration:

  • Make latexmk treat warnings as errors. (#228)

2.18.0

30 Oct 15:21
d8ae860
Compare
Choose a tag to compare

Development:

  • Accept snake_case variants of options in addition to camelCase variants in \markdownSetup and Lua CLI. Accept snake_case and caseless variants of options in \setupmarkdown. (#193, #194, #195, #196, #197, #198)
  • Rename renderers, renderer prototypes and options based on the semantics of elements: (#187, #201)
    • Rename the horizontalRule and footnote renderers and renderer prototypes to thematicBreak and note.
    • Rename the footnotes and inlineFootnotes options to notes and inlineNotes.
    • Rename the HorizontalRule rule to ThematicBreak and increment grammar_version to 2.
      This change is not backwards-compatible with the grammar_version of 1.
  • Add \markdownEscape macro that inputs a TeX document in the middle of a markdown document fragment. (1478f7b)
  • Add support for raw attributes. (#173, #202)

Fixes:

  • Fix missing support for forward slashes in \markdownSetup{jekyllDataRenderers = {...}} keys. (#199, #200)
  • Fix the plain LaTeX option not preventing changes to renderer prototypes. (013abbb)

Continuous Integration:

  • Check user manual with MarkdownLint. (#203)

Contributed Software:

Deprecation:

  • Deprecate horizontalRule and footnote renderers and renderer prototypes. (#187, #201)

2.17.1

03 Oct 13:27
8ca83f5
Compare
Choose a tag to compare

Fixes:

  • Add debugExtensions and debugExtensionsFileName Lua options for debugging user-defined syntax extensions. (#191, #192)
    • Add a third optional argument to the reader->insert_pattern() method and increment user_extension_api_version to 2. This change is fully backwards-compatible with the user_extension_api_version of 1. (658fbbe)
    • Fix typos in example code for user-defined syntax extensions. (7c6de52, d3195f7)

Documentation:

  • Move contentBlocksLanguageMap option to the file and directory names section of the technical documentation. (dd564f2)