Skip to content

Releases: lab-Spectral/Markdown-Import

1.0 beta 10

24 Aug 13:21
fe2bdd4

Choose a tag to compare

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

23 Aug 22:58
1375156

Choose a tag to compare

  • 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 subscript style to the range, removed the tildes,
    • Count and log of processed pairs.
  • Superscript: hardened regex → \^([^^\r\]]+)\^
    • Prevents issues with footnote calls [^id].
  • 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