diversen / electron-markdown-editor

A simple electron markdown editor made with Uikit, Codemirror and markdown-it. Support for MathJax, code highlighting, live preview, and more.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Electron markdown editor

Screenshot

Screenshot

A markdown editor for the desktop using:

Features

  • WYSIWYG

  • Shortcuts (ctrl-S, Ctrl-O) save and open

  • Dialog for image

  • Dialog for videos (mp4)

  • Dialog for tables

  • Live preview of code highlight.js with tiles, e.g.:

    ~~~php <?php

    echo "hello world";

    ?> ~~~

Becomes:

<?php

echo "hello world";

?>
  • Live preview of Math MathJax, e.g.:

$$\sum_{i=0}^n i^2 = \frac{(n^2+n)(2n+1)}{6}$$

(You will not be able to see parsing of MathJax on github.com or npmjs.com - but only when using the editor).

Install

Use npm:

Global:

sudo npm install electron-markdown-editor -g

You can specify a file on the commandline. E.g.:

electron-markdown-editor README.md

Development:

git clone https://github.com/diversen/electron-markdown-editor
cd electron-markdown-editor 
npm install

Run electron-markdown-editor:

./bin/electron-markdown-editor README.md

About

A simple electron markdown editor made with Uikit, Codemirror and markdown-it. Support for MathJax, code highlighting, live preview, and more.


Languages

Language:JavaScript 85.0%Language:HTML 8.2%Language:CSS 6.8%