Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/inkdropapp/inkdrop-math
- Owner: inkdropapp
- License: mit
- Created: 2016-10-20T11:13:10.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2024-12-04T05:08:14.000Z (23 days ago)
- Last Synced: 2024-12-04T06:18:40.891Z (23 days ago)
- Language: Less
- Homepage: https://www.inkdrop.app/
- Size: 791 KB
- Stars: 26
- Watchers: 3
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README-mobile.md
- License: LICENSE.md
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)