amyreese / markdown-pp

Preprocessor for Markdown files to generate a table of contents and other documentation needs
MIT License
309 stars 68 forks source link

Inline math problem #75

Open gabrielrodcanal opened 4 years ago

gabrielrodcanal commented 4 years ago

Hello, Whenever I try to inline math in a mdpp file, markdown-pp returns a weird output. For example, for the input: $2^n$

The output is:

![2^n](<html>
<head><title>405 Not Allowed</title></head>
<body bgcolor="white">
<center><h1>405 Not Allowed</h1></center>
</body>
</html> "2^n")

I have tested this both on Python 2.7.15 and 3.6.8.

Kangie commented 3 years ago

I would love a way to disable inline math processing. It's running within my code blocks and completely breaking them.

amyreese commented 3 years ago

You probably want to use something like markdownpp --exclude LaTeXRender to disable the latex plugin. Take a look at markdownpp --help for exact usage.

Kangie commented 3 years ago

You probably want to use something like markdownpp --exclude LaTeXRender to disable the latex plugin. Take a look at markdownpp --help for exact usage.

Thanks, I got stuck looking at oooold doco that said "not implemented yet".

This site might need an update!