dmp-math

0.1.4 • Public • Published

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.

Package Sidebar

Install

npm i dmp-math

Weekly Downloads

1

Version

0.1.4

License

MIT

Last publish

Collaborators

  • mauvm