1.0.0

Markdown processing support for Staple

Table of Contents

About

This system adds support for ReStructuredText syntax in both documents and docstrings. When this system is loaded, Staple will automatically scan for documents with the ending rst to use as primary documents on inferred pages. It also adds the source-compiler :restructured-text that can be used to markup documentation source.

To use ReStructuredText for docstrings as well, use a customisation like this on your page type:

(defmethod staple:format-documentation ((docstring string) (page my-page))
  (let ((*package* (first (staple:packages page))))
    (staple:markup-code-snippets-ignoring-errors
     (staple:compile-source docstring :restructured-text))))

System Information

1.0.0
Yukari Hafner
zlib