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
require 'reverse_markdown'
ReverseMarkdown.config do |config|
config.unknown_tags = :bypass
config.github_flavored = true
end
p ReverseMarkdown.convert("<pre>a = 5</pre>")
p ReverseMarkdown.convert("<pre>a = 5</pre>")
Produces this output:
"```\na = 5\n```\n"
" a = 5\n\n"
Only the first one is fenced.
It strikes me that the .config settings should be sticky until changed.
The text was updated successfully, but these errors were encountered:
Produces this output:
Only the first one is fenced.
It strikes me that the
.config
settings should be sticky until changed.The text was updated successfully, but these errors were encountered: