Re: header syntax.

* Dave Pawson <dave.pawson@gmail.com> [2012-11-21 11:55 -0500]:
> On 21 November 2012 15:44, David J. Weller-Fahy <dave-lists-public-markdown@weller-fahy.com> wrote:
> > #v+
> > # Header 1 #
> > ------------
> > #v-
> >
> > results in the output
> >
> > #v+
> > <h2># Header 1 #</h2>
> > #v-
> 
> I just tried it with the perl implementation and the output resulted
> (as expected)
> 
> <h1>v+</h1>
> 
> <h1>Header 1</h1>
> 
> <h1>v-</h1>

Whoops!  My mistake: I use '#v+' and '#v-' to indicate that between
those markers are the contents being discussed.  In this case, that
would have been the input:

# Header 1 #
------------

turned into the output:

<h2># Header 1 #</h2>

I do find it odd that your perl implementation stripped out the '# ' and
' #' which surrounded the headerText, though.

Next time I'll make sure my markers don't get mixed up with the
content.

Regards,
-- 
dave [ please don't CC me ]

Received on Wednesday, 21 November 2012 17:02:01 UTC