Meri Leeworthy

A historical screenshot of Microsoft Word for Mac 1995

Storing Rich Text

i’ve been researching a bit about rich text editors and different approaches to storing rich text. It’s a surprisingly complicated question so I thought i would post what i’m finding.

Discourse uses (and expected all users to use) Markdown, also giving a preview panel while you are writing posts. The post editor came with a toolbar, that (similar to what Discord does while I’m writing this post) provides shortcuts that help the user use Markdown syntax. The Discourse API gives you both the original Markdown as well as the ‘cooked’ HTML which I guess it serialises when the post is saved or published. Sometimes HTML tags were also included in the Markdown if you used a custom plugin.

As a user experience, i think even with toolbars that provide shortcuts etc, expecting users to learn and write (or even look at) Markdown is probably the biggest issue with Discourse, particularly in terms of writing long or particularly media-rich posts. Markdown is very simple to store though, and benefits from being more agnostic to presentation style

For editing long-form content like blog posts, I guess the most popular paradigm is WYSIWYG rich text editing like you get in Microsoft Word, Wordpress etc.

In total i’ve looked into the following open source options for rich text editors:

basically my main findings are:

I live and work on the land of the Wurundjeri people of the Kulin Nation. I pay respect to their elders past and present and acknowledge that sovereignty was never ceded. Always was, always will be Aboriginal land.

This site uses open source typefaces, including Sligoil by Ariel Martín Pérez, and Vercetti by Filippos Fragkogiannis