TextMug (2014)
TextMug is a paste-bin for Markdown. On this project I learned how to work with Content Editable and how to parse Markdown.
You can try it out here: https://textmug.com.
TextMug’s editor displays rendered Markdown. However, when you start editing a paragraph, it becomes source. This reduces the amount of context switching (and screen space) needed when editing and previewing Markdown.
This project is hosted on GitHub.
Lessons Learned
- Content Editable is finicky across browsers. Two examples:
- Key presses don’t trigger events on Android’s browser (as of 2014)
- Browsers use different elements as their “empty” element
- How to deploy an app on Digital Ocean