Reputation: 795
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
Upvotes: 63
Views: 14130
Reputation: 442
Start the line with a number and escape the dot after it: https://www.markdownguide.org/basic-syntax/#starting-unordered-list-items-with-numbers
1968\. A great year!
Upvotes: 1
Reputation: 46469
Use an invisible character:
⁣1.
I did this as my MD processor didn't support the 1\.
escaping notation used in Ethan's answer here.
Upvotes: 12
Reputation: 69081
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.
Upvotes: 96