One (much) requested feature is styling support of the Markdown preview. I think I have an interesting and very workable solution to propose.
Not everyone seem to be aware of it, but DEVONthink actually supports MultiMarkdown. In order to style the Markdown preview, we can take advantage of two MultiMarkdown features :
- the metadata header ;
CSSmetadata in the header.
It works like this. On the first line of any Markdown text, just write this :
and leave an empty line below. Pronto, you’ve got a nicely formatted URL preview – as long as you’re connected to the internet. If DEVONthink can’t load the CSS file, you’ve got the default preview anyway. Of course, you can write the URL of any suitable CSS file, even a local one. The advantage of an online one, in my opinion, is that it works regardless of where your text file resides. Very handy if you synchronize with DEVONthink to Go, for example !
Please take a look into my CSS file. I’m not a CSS wizard, not even an HTML coder. I’m just a slightly nerdy psychotherapist. So, if someone could improve on it or hint me to a more elaborate one, I would greatly appreciate it ! I’ve given extra care to the vertical spacing in order to improve legibility. And I very much prefer a nice blue text – like ink – over (funerary) black.
Dr Olivier Spinnler