Using Monospaced Font in the TiddlyWiki Editor

By default, TiddlyWiki uses its default fonts (Arial or Helvetica) for its tiddler editor. While these fonts are more than fine as the default font for the text in tiddlers, I found them much less convenient when editing tiddlers. Furthermore, they’re even a bad choice when one has code snippets in his tiddlers.

The following code snippet solves the problem by resetting the font used in the editor to a monospaced font. Just add the following snippet:

/*{{{*/
.editor {
    font-family: DejaVu Sans Mono, Courier New, monospace;
}
/*}}}*/

To your StyleSheet tiddler (or create it if it doesn’t exist yet). Now, the next time you edit a tiddler, you will do it using a monospaced font.

Leave a Reply

Your email address will not be published. Required fields are marked *