Previously the algorithm couldn't handle headings like this:
# heading with a leading space
It could only handle headings like this:
#no leading space
Add support for the former.
Note: I looked around on the internet to see if leading spaces were
illegal in the syntax, but I couldn't find anything definitive - and
github renders it fine regardless. So I guess this is legal.
Previously the algorithm couldn't handle headings like this:
It could only handle headings like this:
Add support for the former.
Note: I looked around on the internet to see if leading spaces were illegal in the syntax, but I couldn't find anything definitive - and github renders it fine regardless. So I guess this is legal.