Crate antwerp

Source
Expand description

§Antwerp

Antwerp is an open-source framework ported from JavaScript to Rust for GitHub pages and built with the Marcus HTML to MarkDown parser. It outputs static web pages in dist/ using HTML and MarkDown templates in public/, which are converted to HTML using the Marcus MarkDown to HTML parser.

References & Getting Started:

Structs§

Block
Contains information for blocks derived from block declarations in templates.
Template
Contains template information derived from HTML and MarkDown templates.

Functions§

build
Build Parses HTML and MarkDown templates in public/ and writes the HTML output to dist/

Type Aliases§

Blocks
Type alias representing a HashMap where key: String and value: Block.
Filters
Type alias representing a Vector of String for filter lists in block declarations.
Templates
Type alias representing a HashMap where key: String and value: Template.