https://github.com/ttscoff/MMD-QuickLook
This is a quick fork of Fletcher Penney's MMD Quicklook project. It adds some styling to the default Quick Look preview (based on GitHub CSS) and allows for customization via a .mdqlstyle.css
file in your home folder.
To install, either use homebrew-cask
brew cask install ttscoff-mmd-quicklook
or manually download the zip, unarchive and place the MultiMarkdown QuickLook.qlgenerator
file in ~/Library/QuickLook/
. To make sure the Quick Look generator list reloads with the new file, you can run qlmanage -r
on the command line.
To use a custom style, name the CSS file .mdqlstyle.css
and place it in your User's home directory. Note the leading period. Default padding for the body class will be included before your styles, so you can pretty much drop in any CSS you want from any source. Use one of the provided files, copy CSS from your blog, your favorite website or build your own.
A couple of default styles lifted from Marked.app.
- Swiss (screenshot)
- Upstanding Citizen (screenshot) (includes custom fonts embedded in the CSS as data URIs)
- Version 1.2
- TextBundle support
- Version 1.1
- Updated MultiMarkdown
- Support for
{{TOC}}
- Support for Metadata references, e.g.
[%title]