1.1.3 • Published 4 years ago

markdown-math-editor v1.1.3

Weekly downloads
-
License
GPL-3.0-or-later
Repository
-
Last release
4 years ago

markdown-math-editor

markdown editor using neovim as editor with lot of features like asciiMath syntax support, chemical molecule drawing (based on SMILES syntax)

requierements

require nodejs 14, neovim, and other dependencies for running node-gtk on debian :

sudo apt-get install \
  build-essential git \
  gobject-introspection \
  libgirepository1.0-dev \
  libcairo2 \
  libcairo2-dev
apt-get install libwebkit2gtk-4.0

other platform

take a look at node-gtk install

for the moment, it may not run well on other platforms, because of it's dependencies to GTK. It's on the roadmap.

install

sudo npm install -g markdown-math-editor

then to open a file with the editor run :

markdown-math-editor file.md

You can configure your desktop manager to open all *.md files with this editor

features

  • Complexe math formule support with asciiMath syntax and with $$ and $ as delimiters
  • Molecule drawing support with SMILES syntax with €€ and as delimiters
  • Simple and efficient Tables syntax
  • HTML & PDF export
  • Double click on a picture to edit in Gimp

syntax

see (in the editor) sample.md

npm.io

to use with

this editor was created to edit my University courses, which were in odt format. I've create this editor to work with this converter : https://github.com/Drulac/odt2md

todo

add markdown syntax sample and explain

contribute

This is a schematic explaining the current code functioning

npm.io

install for developpement

git clone https://github.com/Drulac/markdown-math-editor.git
cd markdown-math-editor
npm install
node script.js file.md