v1.1.2 — Strip trailing # on ATX headings
Fixed
- Trailing
#characters on ATX headings were not removed in the preview (#3, reported by Pierre-Jean Quinto). The inline markdown parser stripped the leading#s but left the optional closing#sequence in the rendered text, so# Introduction #rendered asIntroduction #instead ofIntroduction. Per CommonMark §4.2, the closing#sequence — when preceded by whitespace — is decorative and must be stripped. Added a second.replace(/\s+#+\s*$/, '')to the heading text extraction inmarkdown-editor.js.
Install
Extract ClarionMarkdownEditor-v1.1.2.zip into <ClarionRoot>\accessory\addins\ClarionMarkdownEditor\ (the .addin file must land in the root of that folder).