Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/inkdropapp/inkdrop-math

Add math syntax support to markdown editor and preview
https://github.com/inkdropapp/inkdrop-math

Last synced: 20 days ago
JSON representation

Add math syntax support to markdown editor and preview

Awesome Lists containing this project

README

        

It adds math syntax support to markdown editor and preview.
It uses [KaTeX](https://katex.org/) to render math typesetting.

## Usage

### LaTeX syntax

You can write equations in LaTeX syntax like this:

```math
\int_0^\infty \frac{x^3}{e^x-1}\,dx = \frac{\pi^4}{15}
```

or

$$
\int_0^\infty \frac{x^3}{e^x-1}\,dx = \frac{\pi^4}{15}
$$

It will be rendered as:

![block example](https://github.com/inkdropapp/inkdrop-math/raw/master/docs/images/example-01.png)

Inline example:

Inline math: $\int_0^\infty \frac{x^3}{e^x-1}\,dx = \frac{\pi^4}{15}$

It will produce:

![inline example](https://github.com/inkdropapp/inkdrop-math/raw/master/docs/images/example-02.png)