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

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

Functions

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

Type Definitions

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