Package documentation

marksy

1.0.0

By Peregrine Finch

marksy

Package Version Hex Docs Tests

Markdown, HTML, and TOML front matter for Pooka. Metadata uses --- delimiters.

Installation

sh
pooka add marksy

Usage

Pooka
module main

import marksy

main() {
  echo marksy.to_html("# Owl\n\nA *small* visitor.\n")
}

All 652 official CommonMark 0.31.2 examples pass. Tables, task lists, and strikethrough are opt-in; their 13 official GFM examples pass too. Use the guide for metadata, typed ASTs, extensions, HTML policies, and resource-bounded parsing. Conformance records the scope.

Licence

Apache-2.0. Entity data and specification fixtures retain their original licences; see third-party notices.