Ecosyste.ms: Awesome

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

https://github.com/kerzol/markdown-mathjax

Live markdown editor based on MathJax and Marked
https://github.com/kerzol/markdown-mathjax

Last synced: 3 months ago
JSON representation

Live markdown editor based on MathJax and Marked

Lists

README

        

markdown+mathjax
================
Live markdown editor based on MathJax and Marked

## How it works?

text → Escape tags → MathJax → Unescape some sutff → Markdown → preview

## Demo

https://kerzol.github.io/markdown-mathjax/editor.html

## Dependencies

- https://github.com/chjj/marked
- https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js

## Install

You should initialize and fetch
[marked](https://github.com/chjj/marked) into `lib/`
Just type in the terminal:

```bash
cd markdown-mathjax/
git submodule init
git submodule update
```

We use MathJax from https://cdnjs.cloudflare.com/ajax/libs/mathjax/.
If you don't like that you need to read and modify _editor.html_