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 'redcarpet/compat'
text = <<~TEXT
# Header1
```
# This line parsed as header, not as plain text
echo ok
echo ok
```
TEXT
puts Markdown.new(text).to_html
Outputs
<h1>Header1</h1>
<p>``````</p>
<h1>This line parsed as header, not as plain text</h1>
<p>echo ok
echo ok
```</p>
example ruby script
Outputs
My verssions
The text was updated successfully, but these errors were encountered: