thanks, markdown. tharkdown.

master
http://smcv.pseudorandom.co.uk/ 2011-01-25 12:20:25 +00:00 committed by Joey Hess
parent fd6ac25f3c
commit 6a1a041b4f
1 changed files with 20 additions and 0 deletions

View File

@ -9,3 +9,23 @@ Testcase:
* 27. March
* 99. November
* 42. April
> That's a consequence of Markdown syntax. The syntax for ordered lists
> (HTML `<ol>`) in Markdown is to use arbitrary numeric prefixes in that style,
> so your text gets parsed as:
>
> <ul>
> <li>
> <ol>
> <li>January</li>
> </ol>
> </li>
> ...
>
> You can avoid that interpretation by escaping the dot with a backslash
> (`1\. January`) like so:
>
> * 1\. January
> * 27\. March
>
> or by writing "1st January" and so on. --[[smcv]]