On Building a Monod-based Notebook that Respects your Privacy
When we have started working on Monod, our main purpose was to learn React and produce something useful for our internal needs. We have designed an editor that respects your privacy with a zero-knowledge (client side) encryption strategy. The only thing you need to access or share your document is its URL containing the secret key in a fragment. This is pretty neat, because you (and the people you work with) don’t have to create an account and sign in to use Monod: open the URL in your browser and you are ready to work and collaborate.
This workflow is pretty convenient for a sporadic usage, but if you produce a lot of documents you need a way to organize and easily recover them. As you only have to deal with URLs, one solution might be to take advantage of the bookmark manager bundled with your favorite browser. Bookmarks. Sounds like the old times when we did not rely on a search engine to find something we browse earlier.
Anyway, now you have an efficient way to use Monod not simply as an editor but as a Notebook without installing anything on your laptop, phone or tablet, and without having to register to a new service. Pretty cool huh?
And what if you want to work on a document with your tablet while you are on the road (again)? Use your favorite bookmarks synchronization service. I personally use Firefox Sync. You can use the Bookmarks app from your ownCloud instance, or any other service that respects your privacy.
To sum up, we have designed an encrypted notebook that works offline, and is synchronized across all your devices. Good. But a “little something” is still missing to fill the big picture: one day you will need to render your documents as PDF files that you can send to a third. Once again, this will be your web browser’s responsibility to achieve this: we have designed a print stylesheet to produce high quality documents. Print your current document into a file and enjoy!
That is how we manage documents with Monod at TailorDev! Now it is time to let you know about all the Monod features, even the most hidden ones.
A Note on Monod (Hidden) Features
When we released Monod as an Open Source project, we did not really cover all the features provided with this editor, only the main ones. Over the last two weeks, we improved Monod in three different ways: (i) we fixed a potential XSS vulnerability, (ii) we fixed a few bugs, and (iii) we shipped advanced syntax features!
Because HTML is not supported, we have added support for various elements, such
<sup>. For instance,
inserted text, surrounded by
++, will appear on a green background. On the
other hand, you can strike through text with
It is now possible to add abbreviations (using the
tag) to enrich
the content of your Monod documents. The syntax is:
*[ABBR]: The description of
ABBR, without any space between
[ as shown in the figure below:
Monod also provides a few typographical features. For instance, you can also
write subscripts and
In regular Markdown, links are usually written with the
description](url) syntax. In Monod, you can directly paste an URL in your
document, and it will be automatically transformed into a link:
Emoji are supported thanks to the
:<emojicode>: syntax since the beginning
of the project, but you can also add
icons if you wish! The syntax for FA icons is
:fa-<icon name>:. Those FA
icons are scalable, which means that they will fit the right font size depending
on where you use them:
Last but not least, we have added support for mathematical expressions, thanks to the KaTeX library! You can now use TeX-like syntax to write all your formulas or definitions: