Skip to content

Commit

Permalink
Merge pull request #192 from Witiko/fix/add-debug-extensions-option
Browse files Browse the repository at this point in the history
Add `debugExtensions` and `debugExtensionsFileName` Lua options for debugging user-defined syntax extensions
  • Loading branch information
github-actions[bot] authored and Witiko committed Oct 3, 2022
2 parents 7c6de52 + 52d2423 commit 8ca83f5
Show file tree
Hide file tree
Showing 7 changed files with 511 additions and 160 deletions.
18 changes: 18 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# Changes

## 2.17.1 (2022-10-03)

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)

## 2.17.0 (2022-09-30)

Development:
Expand Down
4 changes: 2 additions & 2 deletions examples/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
AUXFILES=*.tmp *.tui *.tuo *.mp *.tuc *.markdown.in *.markdown.out \
*.markdown.lua *.log *.aux *.dvi *.idv *.lg *.tmp *.xref *.4ct *.4tc \
latex-pdftex.tex latex-xetex.tex latex-luatex.tex latex-tex4ht.tex \
example.tex
example.tex *.debug-extensions.json debug-extensions.json
AUXDIRS=_markdown_*/
LUACLI_OPTIONS=cacheDir=_markdown_example hashEnumerators=true \
definitionLists=true footnotes=true inlineFootnotes=true \
smartEllipses=true fencedCode=true contentBlocks=true pipeTables=true \
tableCaptions=true taskLists=true strikeThrough=true superscripts=true \
subscripts=true fancyLists=true
subscripts=true fancyLists=true debugExtensions=true
OUTPUT=context-mkii.pdf context-mkiv.pdf latex-pdftex.pdf \
latex-luatex.pdf latex-xetex.pdf latex-tex4ht.html latex-tex4ht.css

Expand Down
1 change: 1 addition & 0 deletions examples/context-mkii.tex
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
\setupmarkdown
[
hashEnumerators = yes,
debugExtensions = yes,
definitionLists = yes,
smartEllipses = yes,
footnotes = yes,
Expand Down
1 change: 1 addition & 0 deletions examples/context-mkiv.tex
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
\setupmarkdown
[
hashEnumerators = yes,
debugExtensions = yes,
definitionLists = yes,
smartEllipses = yes,
footnotes = yes,
Expand Down
1 change: 1 addition & 0 deletions examples/latex.tex
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
\usepackage{booktabs}
\usepackage[
hashEnumerators,
debugExtensions,
definitionLists,
footnotes,
inlineFootnotes,
Expand Down
Loading

0 comments on commit 8ca83f5

Please sign in to comment.