Releases: lab-Spectral/Markdown-Import
Releases · lab-Spectral/Markdown-Import
1.0 beta 10
Update version with support multi-paragraph footnotes
Support multi-paragraph footnotes
- Capture all paragraphs between [^id]: markers instead of just the first paragraph
- Track and remove all paragraphs belonging to each footnote definition
- Trim trailing empty lines for cleaner output
- Maintain Windows compatibility with all existing try-catch protections
1.0 beta 9
- Windows compatibility: updated processFootnotes()
- Subscript: complete rework of
~text~handling- Removed REGEX.subscript and its GREP-based application (tilde is reserved by InDesign),
- Added applySpecialCharacterStyles() and applySubscriptStyle(),
- Paired tildes matched within the same paragraph,
- Applied
subscriptstyle to the range, removed the tildes, - Count and log of processed pairs.
- Superscript: hardened regex →
\^([^^\r\]]+)\^- Prevents issues with footnote calls
[^id].
- Prevents issues with footnote calls
- Escaped characters: full support (protection/restoration)
- Added ESCAPE_SEQUENCES and RESTORE_SEQUENCES tables,
- protectEscapedCharacters() before Markdown parsing,
- restoreEscapedCharacters() and restoreEscapedCharactersInFootnotes() after processing,
- Supported: backslash, asterisk, hash, dollar, apostrophe, brackets, circumflex, underscore, backtick, pipe, tilde.
- Pipeline: applyCharacterStyles() now calls applySpecialCharacterStyles() (including Subscript).
- Internal cleanup, comments and documentation updated.
Full Changelog: 1.0.0-beta.8...1.0-beta.9