Skip to content

Releases: morgan3d/markdeep

1.19

07 Mar 01:22

Choose a tag to compare

  • Added markdeep.generateMarkdownTable()/generate_markdown_table() API for programmatic Markdown table generation
    --
  • Added support for code fences with no space before the optional language specifier
  • Added starship.js 60th anniversary sci-fi template
  • Added markdeep.headerAnchor() and markdeep.definitionAnchor() functions to the JavaScript API for programmatic anchor generation
  • Added Python module markdeep.py with header_anchor() and definition_anchor() functions
  • Added support for escaping HTML script tags in markdown code examples
  • Added support for code fences inside blockquotes
  • Added support for ordered checklists: 1. [x] and 1. [ ] syntax for numbered task lists with checkboxes
  • Added llms.txt machine-readable syntax reference for LLM coding agents such as Claude, Gemini, GPT, llama, etc.
  • Added support for CommonMark hard line breaks: trailing \ or two trailing spaces insert BR tags. Controlled by enableBackslashLineBreak (does not merge with paragraph break) and enableHiddenLineBreak options (merges with paragraph break)
  • Added support for stage directions syntax ((text)) for screenplays and theatre scripts, with block-level and inline rendering. Controlled by enableStageDirections option (default: true)
  • Changed inline code to use white-space:pre instead of white-space:pre-wrap
  • Fixed parsing of tables with HTML space entities in them
  • Fixed fancy quote regex matching double-quoted strings inside blockquote code fences
  • Fixed dimensions pattern (x×) to avoid false positives on alphanumeric IDs and hexadecimal values (e.g., NukYS1x75u8D, 0xDEADBEEF no longer converted)
  • Fixed regressions in 1.18:
  • Fence parsing bug where fence markers could be incorrectly matched as language specifiers
  • Checkbox parsing bug where [ ] checkboxes were not recognized in streamlined format
  • ATX header parsing with optional end of line markers
  • Image grids with trailing newlines
  • HTML code blocks formatting
  • Nested lists with wrapped content breaking into separate lists
  • Excess floating/wrapped images
  • Occasional broken table captions

1.18

03 Dec 03:43

Choose a tag to compare

  • Improved support for Cursor and Windsurf editors
  • Performance optimization for processing very long URLs and images
  • Support for agentic workflows using Claude, Gemini, Qwen, GPT, SWE, and Falcon LLMs
  • Upgraded to MathJax 3, version 3.2.2 for Latex processing
  • Upgraded to highlight.js 11.11.1 for code syntax highlighting
  • Included the mathtools package in MathJax by default
  • Added support for escaped square brackets in hyperlink text
  • Added contextMenu option
  • Added h1TitleInput option
  • Added h1TitleOutput option
  • Fixed diagram captions without references rendering with extranous surrounding brackets
  • More aggressive list detection to work with more pre-existing markdown documents
  • Definition lists now create anchors to support direct deep linking
  • Optional link previews
  • Autodetect code fence ASCII art diagrams
  • Fix: figure reference links now scrolling figure top instead of caption
  • New 10th anniversary website

1.17

22 Dec 15:21

Choose a tag to compare

  • Support for correct link targets when a Markdeep document is embedded inline within an iframe srcdoc
  • Overloaded API link definitions now have unique hash URLs for each instance
  • Made linkAPIDefinitions: true the default behavior
  • Added wgsl to language highlighting options
  • Added support for URL-shortened YouTube videos that contain ?si= querries
  • Made slate.css template contents sidebar disappear on narrow displays
  • Header rows now scroll down with contents on long tables
  • Updated to highlight.js 11.9

1.16

26 Dec 16:28
6f7113f

Choose a tag to compare

  • Added attrib and attrib-url parameters for images to create inset copyright statements.
  • Allowed a single newline between a number and degrees for angle formatting.
  • Added tocDepth global option.
  • Applied corrections by Orestes Mas to the Catalan translation.
  • Documented the supported localizations.
  • Added SML and Julia syntax highlighting for code blocks.
  • Fixed single-row image grids and image grids with a partial last row lay out correctly (Linwan Song)
  • Fixed unnumbered level 3 through 6 section header formatting.
  • Fixed processing of documents contained entirely in "preformatted" script blocks.

1.15

28 Dec 01:42

Choose a tag to compare

Many of the changes in this version are due to Linwan Song.

  • Added support for Standard ML (sml) language syntax highlighting.
  • Updated to highlight.js version 11.6.0.
  • Updated PyxlScript syntax highlighting rules.
  • Patches for unclosed HTML tags.
  • Support for single-column image grids.
  • Support for YouTube videos with timestamps.
  • Fixes for Diagram captions

Version 1.14

29 Jun 13:14

Choose a tag to compare

2022-06-29 Version 1.14

  • Reenabled minification (thanks to Linwan Song). Download size decreased from 354k to 212k, before gzip.
  • Fixed Czech language code to cs.

2021-10-03 Version 1.13

  • Improved calendar localization and robustness.
  • Tweaked admonition icon layout on Firefix.
  • Clarified that images are always linked by default and added markdeepOptions.autoLinkOptions.
  • Changed the escaping method for <script>/<style>/<link> tags in the Markdeep demo to make all examples copyable.
  • Fixed syntax highlighting of multi-line code elements features such as block comments and strings.
  • Fixed title processing to allow HTML tags (<br> can be especially useful).
  • Fixed PyxlScript syntax highlighting for functions with digits in the name.
  • Fixed parsing of HTML comments to exactly follow the specification and allow comments with no whitespace in them.