kgar / ts-markdown

An extensible TypeScript markdown generator that takes JSON and creates a markdown document
https://kgar.github.io/ts-markdown/
MIT License
9 stars 4 forks source link

Remove `correctInvalidMidWordBoldAndItalics()` and related tests #3

Closed kgar closed 1 year ago

kgar commented 2 years ago

The function correctInvalidMidWordBoldAndItalics() is part of this best practice from MarkdownGuide.

While this code works, it will cause some confusion for those who are not aware of the best practice and/or use markdown renderers that are not negatively impacted by not following the recommendation. It will also cause confusion when someone applies document- or entry-level options and sees those options ignored because of this best practice being forced on the final document.

kgar commented 1 year ago

fixed by #41