Skip to content

v0.2.0 - renderer, CLI, and a JS twin

Choose a tag to compare

@0xLeif 0xLeif released this 24 Jun 02:30
· 89 commits to main since this release

Tooling and a second implementation for 3md (Markdown with a Z axis).

New

  • HTMLRenderer (Swift): render a Document to a standalone, accessible HTML5 page, one <section> per plane.
  • threemd CLI: validate, info, and html subcommands. The library target stays zero-dependency.
  • @corvidlabs/threemd (js/): a strict-TypeScript parser and serializer that mirrors the Swift implementation.
  • Shared conformance suite (conformance/): 21 JSON vectors (12 valid, 9 invalid) run by BOTH the Swift and TypeScript test suites, so the two parsers are provably in sync.

Verified: swift-format lint clean, 53 Swift tests, spec-sync 7/7, 34 TypeScript tests, all conformance vectors green in both languages.

SwiftPM:

.package(url: "https://github.com/CorvidLabs/3md", from: "0.2.0")