QuickLook Plugin for CommonMark documents by using cmark-gfm.
- GitHub Flavored Markdown extensions
- Dark Mode
- Unicode encoding (UTF-8, UTF-16BE, UTF-16LE, UTF-32BE and UTF-32LE) detection by BOM
- Japanese encoding (Shift-JIS, EUC-JP and ISO-2022-JP) detection by Brute forcing
To install qlcmark-gfm, please copy or move qlcmark-gfm.qlgenerator
to ~/Library/QuickLook
and execute following command in Terminal.app.
$ qlmanage -r
If you want to build from source, please make sure cmake
is installed to your mac, and then follow the steps below.
$ git clone https://github.com/rokudogobu/qlcmark-gfm.git
$ cd qlcmark-gfm
$ bash build.bash
Please build at a directory which is NOT synced with iCloud, otherwise a codesign process may fail.
You can change color mode and font-size by executing following command:
$ defaults write io.github.rokudogobu.qlcmark-gfm <key> -string <value>
The keys and values are listed below:
key | default | possible values |
---|---|---|
mode | auto |
light , dark or others ( interpreted as auto ) |
font-size | 14px | any CSS values for font-size property |
Copyright (c) 2019 rokudogobu.
Licensed under the Apache License, Version 2.0.
See LICENSE for details.