Giter VIP home page Giter VIP logo

qlcmark-gfm's Introduction

qlcmark-gfm

QuickLook Plugin for CommonMark documents by using cmark-gfm.

screenshot

Supported Features

  • 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

Installation

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.

Setting Preferences

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

License

Copyright (c) 2019 rokudogobu.
Licensed under the Apache License, Version 2.0.
See LICENSE for details.

qlcmark-gfm's People

Contributors

rokudogobu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

qlcmark-gfm's Issues

Add qlcmark-gfm to brew cask

This plugin implements commonmark and therefore better than the other markdown quicklook generator qlmarkdown, which implements John Gruber's Markdown.pl. In addition, this plugin supports Dark Mode.
Adding a cask can increase its popularity.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.