Pheasant is a Markdown converter which is designed to be used as a plugin for static site generators, especially MkDocs. The one of the main features of Pheasant is auto Markdown generation of outputs after execution of any Python or other language codes written in a fenced code block of Markdown source. This process is executed by the Jupyter client functionality. In addition to the code execution, Pheasant can automatically number headers, figures, tables, etcs.
Install the plugin using pip:
pip install pheasant
Next, add the following lines to your
plugins: - search - pheasant
If you have no
pluginsentry in your config file yet, you'll likely also want to add the
searchplugin. MkDocs enables it by default if there is no