developit / snarkdown

:smirk_cat: A snarky 1kb Markdown parser written in JavaScript
http://jsfiddle.net/developit/828w6t1x/
MIT License
2.29k stars 109 forks source link

numbers in header are converted to list #115

Open dicash opened 2 months ago

dicash commented 2 months ago

1. The problem

We are rendering content like

### 1. Agreement
...
### 2. Rights
...

snarkdown converts numbers in headers into lists, which is not what we want.

2. Expected result

^ Github markdown doesn't do that as you see, so we want the same. Can it be fixed?