strrchr / pagedown

Automatically exported from code.google.com/p/pagedown
Other
0 stars 0 forks source link

Atx-style headers missing #36

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Enter three times the hash sign #
2. the output is no h3-tag

What is the expected output? What do you see instead?
Three # should generate a h3 heading (<h3> my headline </h3>
According to http://daringfireball.net/projects/markdown/syntax#header markdown 
should support html headers h1 down to h6 be entering n times the # sign.

What version of the product are you using? On what operating system?
The current version (july 2012).

Please provide any additional information below.
Take a look at the markdown page at daringfireball.net

Original issue reported on code.google.com by demug...@googlemail.com on 22 Aug 2012 at 8:40

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
to be more clear: Heading for level h4 up to h6 is missing. h1,h2 and h3 are 
working

Original comment by demug...@googlemail.com on 22 Aug 2012 at 8:51

GoogleCodeExporter commented 9 years ago

Original comment by b...@stackoverflow.com on 12 Sep 2012 at 10:06

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
If anyone wants ATX header support for H1-H4 (can be easily adapted to H1-H6 
etc) using the header button see 
https://gist.github.com/dotnetchris/0f68c879082343295503

Original comment by ch...@marisic.com on 30 Sep 2014 at 5:57