You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 text was updated successfully, but these errors were encountered:
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.
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?
@dbiere apologies for the delay! I think it's sufficient to simply disable the SimpleMDE strike through. We haven't seen too many attempted uses of the feature and can always add to it later.
Instead of getting a strikethrough text the pair of
tildesare rendered as text. It work while text is being edited, but fails when text is in preview mode.The text was updated successfully, but these errors were encountered: