Written in Livemark
(2021-10-26 22:29)

Adding a Plugin


When you work on your Livemark project there are different options of adding a plugin to the building process:

External Plugin

You can install an external plugin, for example:

$ pip install livemark-ckan

And activate it in livemark.yaml file:

ckan: true # or a plugin config

Custom Plugin

You can Write a Plugin and put it into plugin.py module or export from plugins package in your project root. You don't need to activate it in livemark.yaml. For example, you can take a look how it works in the Livemark Project Template.

It's also possible to add a plugin programmatically:

from livemark import system

Data presentation framework for Python that generates static sites from extended Markdown with interactive charts, tables, scripts, and other features