pandoc/tests/Tests/Readers
Florian Eitel 5f09cf7ff0 Write id for code block to label attr in latex when listing is used
The code:

    ~~~{#test}
    asdf
    ~~~

gets compiled to html:

    <pre id="test">
    asdf
    </pre>

So it is possible to link to the identifier `test`

But this doesn't happen on latex

When using the listings package (`--listings`) it is possible to set the
identifier using the `label=test` property:

    \begin{lstlisting}[label=id]
    hi
    \end{lstlisting}

And this is exactly what this patch is doing.

Modified LaTeX Reader/Writer and added tests for this.
2013-08-22 20:15:36 +02:00
..
LaTeX.hs Write id for code block to label attr in latex when listing is used 2013-08-22 20:15:36 +02:00
Markdown.hs Added test for #882. 2013-06-19 09:27:11 -07:00
RST.hs Use new flexible metadata type. 2013-06-24 20:29:41 -07:00