With Markdown enabled double tilde strikethrough does not work in v.4
IuliiSe opened this issue · 3 comments
Instead of getting a strikethrough text the pair of tildes are rendered as text. It work while text is being edited, but fails when text is in preview mode.
The issue is that SimpleMDE (used during editing) enables strikethrough by default, while the Laravel-Markdown CommonMark wrapper library (used for viewing the doc) does not support strikethrough.
From the SimpleMDE config guide...
strikethrough: If set to false, will not process GFM strikethrough syntax. Defaults to true.
The Markdown and CommonMark specs do not mention strikethrough/strikeout at all.
So it seems our options are:
- Disable SimpleMDE strikethrough, or
- Enable Laravel-Markdown strikethrough via a CommonMark extension such as commonmark-ext
I'd be happy to work on this but would appreciate guidance from the group. Which option makes the most sense? Should Madison stick closer to the Markdown spec or support common extensions like strikethrough?
Do you have any thoughts on this @sethetter?