ruivieira / nim-slimdown

Nim module that converts Markdown text to HTML using only regular expressions. Based on jbroadway's Slimdown.
MIT License
10 stars 1 forks source link

Header via `#` is created in middle of the line #1

Closed miere43 closed 8 years ago

miere43 commented 8 years ago
import slimdown

echo slimdown.md("language C# is good")

Output:

C<h1>is good</h1>

Obviously turning '#' symbol to header should happen only on newline