Merge pull request #174 from Shinmera/markless
Markless plugin through cl-markless-plump
This commit is contained in:
commit
d61a3a2adc
2 changed files with 23 additions and 0 deletions
|
@ -102,6 +102,17 @@ post with `format: cl-who` and the plugin will do the rest.
|
||||||
- `:config` is used as supplementary inline configuration to the
|
- `:config` is used as supplementary inline configuration to the
|
||||||
`MathJax.Hub.Config ({ ... });`. It is unused by default.
|
`MathJax.Hub.Config ({ ... });`. It is unused by default.
|
||||||
|
|
||||||
|
## Markless
|
||||||
|
|
||||||
|
**Description**: [Markless](https://shirakumo.github.io/markless) is a
|
||||||
|
new document markup standard. To use it in your posts, create the
|
||||||
|
posts with `format: mess`. The output is generated using
|
||||||
|
[cl-markless-plump](https://shirakumo.github.io/cl-markless/cl-markless-plump/),
|
||||||
|
meaning any syntax extensions that work with it should also be
|
||||||
|
available in Coleslaw.
|
||||||
|
|
||||||
|
**Example**: `(mess)`
|
||||||
|
|
||||||
## ReStructuredText
|
## ReStructuredText
|
||||||
|
|
||||||
**Description**: Some people really like
|
**Description**: Some people really like
|
||||||
|
|
12
plugins/markless.lisp
Normal file
12
plugins/markless.lisp
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
(eval-when (:compile-toplevel :load-toplevel)
|
||||||
|
(ql:quickload 'cl-markless-plump))
|
||||||
|
|
||||||
|
(defpackage #:coleslaw-markless
|
||||||
|
(:use #:cl)
|
||||||
|
(:export #:enable))
|
||||||
|
(in-package :coleslaw-markless)
|
||||||
|
|
||||||
|
(defmethod render-text (text (format (eql :mess)))
|
||||||
|
(cl-markless:output text :target NIL :format 'cl-markless-plump:plump))
|
||||||
|
|
||||||
|
(defun enable ())
|
Loading…
Add table
Reference in a new issue