Releases: Witiko/markdown
Releases · Witiko/markdown
2.1.1
Fixes:
- The citations extension should now be fully compliant with the Pandoc spec.
- The
citationNbsps
option now also affects newlines, as is expected. - The default
\markdownOptionCacheDir
explicitly specifies the current
working directory, so that the cache files are not sought in the TeX
directory structure.
Documentation:
- Added information about the supported LuaTeX versions.
- Added information about the portable use of the package.
Development:
- All the syntax extensions (fenced code blocks and citations) were merged by
the upstream project.
2.1.0
New features:
- Added Pandoc-style citations and CommonMark fenced code blocks syntax extensions.
- Added the following renderers:
interblockSeparator
,ulItemEnd
,olItemEnd
,dlItemEnd
,nbsp
,cite
,textCite
, andinputFencedCode
.
- Added the following Lua options:
citations
,citationNbsps
,fencedCode
, andblankBeforeCodeFence
.
Changes in behavior:
- Replaced the
-
character in the default\markdownOptionCacheDir
with_
. - The cache filenames are now different based on the version of the package.
- Code spans may now be empty.
Fixes:
- The conversion from Markdown should now produce consistent behavior no matter if the input of the conversion function ends with
\n\n
,\n
, or nothing. - LaTeX interface
rendererPrototypes
keys for thepipe
,link
, andimage
renderers no longer incorrectly set the\markdownRenderers<Renderer>
macros rather than the\markdownRenderers<Renderer>Prototype
macros.
2.0.2
2.0.1
2.0.0
New features:
- Added raw unescaped URI to the
link
andimage
renderer arguments. (This breaks backwards compatibility, hence the major version number bump.) - Added renderers for plain TeX and ConteXt special characters.
Fixes:
- Make autolinks work by preventing
Str
from consuming<
. - Non-found footnote ref no longer outputs unescaped text.
- Catcode of
|
is now other in\markdownReadAndConvert
for ConTeXt. - Restore escapability of
<
,>
to enable escaping of autolinks.
Development:
- Added a suite of tests.