mathjax_markdown

0.0.7 • Public • Published

Preview Markdown with MathJax support

** Inline Math Support using MathJax **

  • Put your math expression within $$...$$
  • eg $$$x_1 + 2$$$ will be render as $x_1 + 2$

Demo

** index.html **

Implementation.

Usage

mathjax_markdown a.md a.html  # compile a.md to a.html 
mathjax_markdown a.md a.pdf    # compile a.md to a.pdf 

API

Please check mathjax_markdown.js

Style

css style is written in ** css_template/index.css **, feel free to modify it.

TODO

  • Add CSS support.
  • pdf hyperlink fix

ATTENTION

  • The pdf conversion doesn't work properly sometimes.
  • You can convert your markdown file to html file first, then use browser to print it as pdf.

Readme

Keywords

Package Sidebar

Install

npm i mathjax_markdown

Weekly Downloads

1

Version

0.0.7

License

MIT

Last publish

Collaborators

  • shd101wyy