-
Jinja_Md.Py
Renders your markdown as a jinja template during pre_render.
-
Manifest.Py
manifest plugin
-
Create_Covers.Py
None
-
Docs.Py
leading docstring
-
Service_Worker.Py
Adds a service_worker to your site. This will make it installable on mobile, viewable offline, and potentially more responsive as the user goes between good and bad connections.
-
Generator.Py
add generator meta tag
-
Prevnext.Py
The prevnext plugin, creates previous and next links inside each post.
-
Setup_Logging.Py
Setup Logging hook sets up the RichHandler for pretty console logs, and file logs to the configured markata's configured
log_dir
, oroutput_dir/_logs
iflog_dir
is not configured. The log file will be named after the<levelname>.log
-
Subroute.Py
None
-
Publish_Html.Py
Sets the articles
output_html
path, and saves the article'shtml
to theoutput_html
file. -
Post_Template.Py
Add head configuration
This snippet allows users to configure their head in
markata.toml
. -
__Init__.Py
None
-
Feeds.Py
The
markata.plugins.feeds
plugin is used to create feed pages, which are lists of posts. The list is generated using afilter
, then each post in the list is rendered with acard_template
before being applied to thebody
of thetemplate
. -
Auto_Description.Py
A Markata plugin to create automatic descriptions for markdown documents. It does this by grabbing the first
{len}
number of characters from the document that are in a paragraph. -
Post_Model.Py
None
-
Render_Markdown.Py
Renders markdown content as html. This may be markdown files loaded in by way of the load plugin.
-
Auto_Title.Py
None
-
Publish_Source.Py
Writes the final modified markdown and frontmatter to the output directory. Replacing the trailing slash if its there and adding .md will bring up the raw source.
-
Create_Models.Py
None
-
Base_Cli.Py
Markata's base command line commands.
-
Md_It_Highlight_Code.Py
None
-
Load.Py
Default load plugin.
-
Rss.Py
Default glob plugin
-
Flat_Slug.Py
The articles slug is what determines the url to your page. It should be sanitized of special characters that do not work in the browser.
-
Copy_Assets.Py
None
-
Heading_Link.Py
Creates links next to all heading tags to make it easier for users to share a specific heading.
-
Tui.Py
None
-
Datetime.Py
Default datetime plugin
-
Redirects.Py
Creates redirects for times when your backend server can't.
-
Pyinstrument.Py
Markata plugin to create a pyinstrument profile if pyinstrument is installed.
-
To_Json.Py
None
-
Md_It_Wikilinks.Py
Wikilinks depicted with
\[[wikilinks]]
can be enabled for sites using themarkdown-it-py
plugin markata will look through all posts matching up the file stem to the wiki link and inserting the slug as the href. -
Mdit_Details.Py
None
-
Sitemap.Py
None
-
Icon_Resize.Py
Icon Resize Plugin
-
Covers.Py
Configuration
Example configuration. Covers supports multiple covers to be configured. Here is an example from my blog where we have a template sized for dev.to and one sized for open graph. Each image takes it's own configuration.
-
Publish_Dev_To_Source.Py
None
-
Seo.Py
manifest plugin
-
Glob.Py
Default glob plugin
-
Config_Model.Py
None
-
Plugins.Py
None