This document provides a summary of all notable changes to downdoc by release. For a detailed view of what’s changed, refer to the commit history of this project.
-
Add support for
hardbreaks
option on paragraph -
Add support for
markdown-unwrap-prose
document attribute to remove newlines in paragraphs -
Add support for nested description lists (up to 3 levels deep)
-
Add support for ordered list that uses explicit arabic numerals (e.g.,
1.
) -
Add support for numbers 10-19 in callout list
-
Add support for
noheader
option on table
-
Trim extra spaces after heading marker (effectively trimming leading spaces in title)
-
Trim extra spaces after list marker (effectively trimming leading spaces in principal text)
-
Allow preprocessor conditionals to be nested
-
Allow description list term to start with list marker if line is not matched as a list item
-
Preserve non-space indent in front of empty line in verbatim block (with and without indent=0)
-
Restrict maximum (0-based) section level to 5
-
Verify in list when looking for list item offset by one or more empty lines
-
Don’t interpret hard line break in last line of literal paragraph when directly adjacent to another paragraph
-
Don’t promote first row of table to header if preceded by empty line
-
Don’t drop cells when number of cells on line in source exceeds number of columns in table
-
Allow marks/tags used to enclose strikethrough text to be configured using
markdown-strikethrough
document attribute -
Support title along with optional ID on delimited quote block
-
Process and drop metadata (ID and roles) on code span
-
Process single quoted text
-
Use reftext defined on target block for automatic link text of xref if block has ID, title, and reftext
-
Allow space in target of block or inline image as long as it’s not the first character of the target
-
Ignore
image:
macro prefix if followed by backtick -
Remove file extension from target basename when generating alt text for image
-
Allow line break marker to be configured using
markdown-line-break
document attribute -
Add basic support for inline stem macro
-
Support ID on lists and description lists
-
Support title on admonition block; insert after label
-
Support ID on admonition block; insert before label
-
Support title with ID on example block
-
Support title without ID on example and sidebar blocks
-
Apply normal substitutions to title/summary of spoiler block
-
Add hard line break after label on admonition paragraph
-
Don’t add space after hard line break in table cell
-
Indent wrapped primary text of dlist entry
-
Don’t add line break marker to description list term if primary description text is empty or resolves to empty
-
Don’t add line break marker to admonition label if text resolves to empty
-
Replace newline that follows hard break in table cell with single space
-
Support indent=0 attribute on verbatim blocks
-
Support natural xrefs (xref that identifies target by title)
-
Support xref macro when target path contains spaces
-
Use title on paragraph with ID as automatic text (xreftext) for internal ref
-
Support reading input from stdin when input path is
-
-
End literal paragraph (and enclosing list, if relevant) when djacent block attribute line is encountered
-
Prevent xref rewriter from matching square brackets elsewhere in the line
-
Honor escaped xref macro inside monospace phrase
-
Treat underscore as word character when converting marked phrase
-
Apply constrained formatting rules when converting bold or italic phrase
-
Align constrained formatting rules for marked phrase with those for bold and italic
-
Make match for block anchor more accurate
-
Don’t resolve attribute reference if name begins with hyphen
-
Support delimited quote block
-
Promote ID on paragraph to inline anchor
-
Unescape and skip escaped xref macro
-
Define
zwsp
as intrinsic attribute -
Honor horizontal column alignments specifed in cols attribute on table
-
Support xref to verbatim block with ID and title
-
Add rudimentary support for qanda list
-
Add support for ID on literal paragraphs (including promoted console blocks) and block images
-
Isolate lists inside a delimited block from those outside while still maintaining current indentation
-
Clear list context (inList and listStack) at start of non-attached delimited block (adjacent or non-adjacent)
-
Reset indent when clearing list context at start of delimited block
-
Don’t interpret text enclosed in << and >> that contains spaces as an xref shorthand
-
Don’t process link macro if target starts with colon
-
Add support for inline anchor (shorthand syntax only, no reftext)
-
Implement rudimentary support for literal monospace
-
Dramatically improve parsing performance by guarding use of regular expressions
-
Make xref macro parsing more accurate
-
Don’t mangle single quote enclosed in monospaced formatting pair
-
Don’t attempt to substitute escaped attribute reference at start of monospaced phrase
-
Replace backslashes in monospaced phrase when no backslash on the line immediately follows a backtick
-
Don’t mangle a double-escaped attribute reference
-
Allow use of all lower Unicode alphabetic characters in attribute name
-
Add support for delimited admonition block
-
Honor subs attribute on verbatim paragraph (attributes only)
-
Switch from filled to circled conums (to extend the range)
-
Honor hardbreak at end of wrapped line in table cell
-
Don’t process marked (highlight) phrase within a word
-
Extend supported conums range to numbers 1-19
-
Rename ADMONITION_ICONS constant to ADMONS; switch value to Map
-
Enclose entire admonition label in strong phrase and remove colon
-
Only promote first row of table to header if specified by %header option or by implicit syntax
-
Don’t interpret multiple character references on line as marked (highlight) phrase
-
Restore indent after literal paragraph inside delimited block attached to list item
-
Fix overgreedy match in block attribute parsing when attribute values are quoted
-
Close promoted console code block at list continuation
-
Close verbatim at list item or list continuation
-
Add support for stem style on passthrough block to create display (block) math
-
Pass contents of passthrough block through unprocessed
-
Support discrete headings, including inside delimited block and at start of document
-
Support autonumbering of colist items (i.e.,
<.>
syntax) -
Support autonumbering of conums in verbatim block (i.e.,
<.>
syntax) -
Support implicit list continuation above literal paragraph inside list item
-
Remove leading line if empty after applying subs
-
Don’t indent empty line
-
Implement callouts replacement as a named substitution
-
Read closing delimiter for verbatim block from cap property on inContainer object
-
Rename convertInline variable to substitutors to better reflect its purpose
-
Skip applying subs if no special characters are detected