Writing is a lightweight distraction-free text editor, in the browser (Markdown and LaTeX supported). Fork of https://github.com/josephernest/writing
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Micah Penner d38909c014
Merge pull request #1 from josephernest/master
9 months ago
LICENSE Create LICENSE 1 year ago
Markdown.Converter.js New version 4 years ago
Markdown.Editor.js New version 4 years ago
Markdown.Extra.js First 5 years ago
Markdown.Sanitizer.js First 5 years ago
README.md Update README.md 9 months ago
cmunrb.otf Bold roman font added 4 years ago
cmunrm.otf Computer modern font 4 years ago
favicon.ico First 5 years ago
index.html Added save as html 1 year ago
mathjax-editing_writing.js First 5 years ago



Writing is a lightweight distraction-free text editor, in the browser.

Live version: Writing.


Just open index.html and that's it! There is no server code. Is that so simple? Yes!


  • CTRL + D: Toggle display mode

  • CTRL + P: Print or export as PDF

  • CTRL + S: Save source code as .MD file

and a few other commands (change font, etc.) that can be found in:

  • CTRL+SHIFT+H or ? bottom-left icon: Show help

Why another Markdown editor? Why not just use StackEdit?

There are many online editors that support Markdown but:

  • half of them don't support LaTeX / MathJax (for math formulas)
  • some of them do, but have a 1-sec delay between keypress and display, and I find this annoying, see e.g. StackEdit
  • some of them have annoying flickering each time you write new text, once math is present on the page
  • most of them are not minimalist / distraction-free enough for me

That's why I decided to make Writing:

  • open-source
  • no server needed, you can run it offline
  • fast rendering (no delay when writing / no flickering of math equations)
  • just what you need: write, preview, save the code, print or save as PDF, and nothing else
  • LPWP website, a.k.a. "Landing Page=Working Page", i.e. the first page that you visit on the website is the page where things actually happen, that means that there is no annoying welcome page or login page, etc.


Author: Joseph Ernest (@JosephErnest)

Other projects: BigPicture, bigpicture.js, AReallyBigPage, SamplerBox, Void, TalkTalkTalk, sdfgh, RaspFIP, Yopp, etc.


MIT license


Writing uses Pagedown, Pagedown Extra, MathJax, StackOverflow's editor code, and the Computer Modern font.

Note: Some of these libraries have been slightly modified (a few lines of code), to make it work all together, that's why they are included in this package.