Skip to content

Repository files navigation

Markdown Parser

This is a parser for the Markdown markup language. This is the default parser for render_engine pages.

Markdown is a lightweight markup language with plain text formatting syntax. It is designed so that it can be converted to HTML and many other formats using a tool by the same name.

The underlying parser is python-markdown2.

Parser Options

These are the options that can be pulled from the page:

OptionDescription
markdown_extrasA list of extensions to use. See python-markdown2 for a list of extensions.

Quickstart

import the MarkdownPageParser

Render Engine includes the parser in render_engine.parsers.markdown Alternatively, you can import directly from this path

fromrender_engine.parsers.markdownimportMarkdownPageParser# of from render_engine_markdown import MarkdownPageParserclassMyMarkdownPage(Page):
Parser=MarkdownPageParsercontent_path="path_to_your_markdown_file.md"

About

Parser for markdown used in Render Engine

Resources

Code of conduct

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages