0.1.4 • Published 10 years ago

dmp-math v0.1.4

Weekly downloads
1
License
MIT
Repository
github
Last release
10 years ago

Documark Math

npm version dependency status

Documark plugin for adding math formulas to your document.

Usage

  1. Add plugin to document configuration:

    plugins:
      - dmp-math
  2. This will inject MathJax JS v2.5, so you can use it in your document:

    p Here is a random math formula:
    
    //- Block:
    | $$x = {-b \pm \sqrt{b^2-4ac} \over 2a}.$$
    
    //- Inline:
    p Some other text with inline math %% \sqrt{b^2-4ac} %%. Neat!
  3. The output will look something like this:

    screenshot

    See the Example.pdf file of the Documark example for the final result.