Skip to content
Switch branches/tags
Go to file
Cannot retrieve contributors at this time
64 lines (48 sloc) 2 KB

Flycheck support for MMark

License GPL 3 MELPA CI

This package provides a Flycheck checker for the MMark markdown processor.


Download this package and place it somewhere, so Emacs can see it. Then put (require 'flycheck-mmark) into your configuration file. Done!

It's available via MELPA, so you can just M-x package-install RET flycheck-mmark.


First of all, build the mmark-cli executable and place it on your PATH. The easiest way to do that is currently the following:

$ git clone mmark-cli
Cloning into 'mmark-cli'...
remote: Counting objects: 63, done.
remote: Compressing objects: 100% (36/36), done.
remote: Total 63 (delta 29), reused 51 (delta 17), pack-reused 0
Unpacking objects: 100% (63/63), done.
$ cd mmark-cli
$ stack build --copy-bins
Copied executables to /home/mark/.local/bin:
- mmark
$ mmark --version
mmark master e60cc92b88e0069ce296d09ef30feecef83fa03e
using mmark     (library)
using mmark-ext (library)

For this you'll need Stack, follow the link if you wish to see the installation instructions.

Next, add the following to your configuration file:

(eval-after-load 'flycheck
  '(add-hook 'flycheck-mode-hook #'flycheck-mmark-setup))

Also make sure that you enable the flycheck-mode minor mode itself in markdown-mode, this can be done for example like this:

(add-hook 'markdown-mode-hook #'flycheck-mode)


Copyright © 2018–present Mark Karpov

Distributed under GNU GPL, version 3.