fletcher / peg-multimarkdown

An implementation of MultiMarkdown in C, using a PEG grammar - a fork of jgm's peg-markdown. No longer under active development - see MMD 5.
Other
523 stars 55 forks source link

Label generation from underscored section text #75

Closed neilernst closed 13 years ago

neilernst commented 13 years ago

I'm using MMD3 3.0.1

If I have the markdown input:

### The Problem Solver ###

### ARE\_GOALS\_ACHIEVED\_FROM ###
Some text ..

Then the latex output is

\subsection{The Problem Solver}
\label{theproblemsolver}

\subsection{ARE\_GOALS\_ACHIEVED\_FROM}
\label{are_goals_achieved_from}

And the underscores in the label that is automagically generated will cause a problem with Latex. Maybe parse out the underscores altogether in the label?

fletcher commented 13 years ago

This input compiles to pdf via latex just fine for me, and I was able to create a functional link to that header. Perhaps it is a package that you are using?