Skip to content

liuyug/python-markdown-mathjax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MarkJax extension for Python-Markdown

Note

"" is a escape character and use "\" to show "".

TeX or LaTeX

```markdown
inline preprocess : \( E = mc^2 \)
display preprocess: $$ E = mc^2 $$
display preprocess: \[ E = mc^2 \]

```

html output:

```html
<script type="math/tex">E = mc^2</script>
<script type="math/tex; mode=display">E = mc^2</script>

```

Note

"$" is USD unit, so ignore it.

AsciiMath

```markdown
preprocess: \` E = mc^2 \`

```

html output:

```html
<script type="math/asciimath; mode=display">E = mc^2</script>
```

About

MathJax extension for python-markdown

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published