shikiml

0.0.4 • Public • Published

shiki-ml

A markup language describing mathematical formulae by ASCII art.

Example

The well-known quadratic formula markup by shiki-ml:

              __________
             /  2
      -b +- v  b  - 4ac
 x = --------------------
             2a

tex

Taylor series of sin:

           oo      n 2n+1
        ---    (-1) x
sin x =  >     ----------
        ---     (2n+1)!
           n=0

tex

Boltzmann's entropy formula:

 S = k  ln W
      B

tex

Newton's equations of motion:

           2
          d *r*
 m*a* = m------- = *F*
             2
           dt

tex

Gauss' law of electromagnetism:

  /\ /\                         /\ /\ /\
  |  |   \epsilon *E* . d*S* =  |  |  |   \rho dV = Q
 \/ \/ S                       \/ \/ \/ V

tex

Install

npm install shikiml

How to use

Type this command by command line.

shikiml scaffold

Answer some questions and you will get scaffold of an HTML page using shikiml.

License

MIT

Package Sidebar

Install

npm i shikiml

Weekly Downloads

0

Version

0.0.4

License

MIT

Unpacked Size

277 kB

Total Files

16

Last publish

Collaborators

  • ymoriguchi