Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In Markdown, how do I start a line with a number without creating a list?

Tags:

markdown

I want to start a line with a number in Markdown without it creating a list.

1. so my next line  will be parallel to the first      1. not indented    like this 
like image 328
Saber CN Avatar asked Oct 11 '12 05:10

Saber CN


1 Answers

From the Markdown Syntax Documentation:

It’s worth noting that it’s possible to trigger an ordered list by accident, by writing something like this:

1986. What a great season.

In other words, a number-period-space sequence at the beginning of a line. To avoid this, you can backslash-escape the period:

1986\. What a great season.

like image 120
Ethan Furman Avatar answered Sep 23 '22 23:09

Ethan Furman