GithubHelp home page GithubHelp logo

gerhobbelt / asciimathml Goto Github PK

View Code? Open in Web Editor NEW

This project forked from asciimath/asciimathml

0.0 3.0 0.0 726 KB

A new home for asciimathml

License: MIT License

JavaScript 70.49% PHP 7.11% HTML 22.28% Makefile 0.12%

asciimathml's Introduction

asciimathml

A new home for asciimathml

ASCIIMathML.js is a compact JavaScript program that translates simple calculator-style math expressions on a webpage to MathML.

The resulting page can be displayed with any browser that can render MathML. Currently that includes any recent version of Firefox (3+).

This is a fork

This is a fork of the asciimathml repository providing the conversion scripts (originally for web browsers):

  • ASCIIMathML.js is a compact JavaScript program that translates simple calculator-style math expressions on a webpage to MathML.
  • asciimath-based/ASCIIMathTeXImg.js provides utility functions AMTparseAMtoTeX, AMparseMath, and AMprocessNode to convert expressions in AsciiMath notation into LaTeX expressions.

Dependencies

You need node.js to install the required modules.

npm install

Usage

Run pandoc with this filter:

pandoc --filter ./path/to/asciimathfilter.js [your options ...]

The filter will apply conversion on any inline or block math object beginning with :a or &, e. g. $&a^2+b^2 = c^2$.

asciimathml's People

Contributors

ad-si avatar alaasdk avatar doersino avatar drlippman avatar gerhobbelt avatar javarome avatar jipsen avatar lesik avatar lexsong avatar niedzielski avatar pkra avatar ralic avatar sophiebits avatar vbwx avatar yuwash avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.