Skip to content

v0.6.0 - Rust implementation + VS Code highlighting

Choose a tag to compare

@0xLeif 0xLeif released this 24 Jun 05:00
· 70 commits to main since this release

Third implementation: Rust

  • A std-only threemd crate (rust/) with parse, serialize, and links, a faithful port of the Swift and TypeScript implementations. It passes the same 42-vector conformance suite, so Swift, TypeScript, and Rust are all provably in sync. cargo fmt + clippy clean; the verify lane now runs all three.

VS Code syntax highlighting

  • A highlighting extension (editor/vscode/): a TextMate grammar for frontmatter, @plane directives, [[z=N]] cross-plane links, and Markdown bodies, with headless grammar tests. Install the packaged .vsix with code --install-extension threemd-0.1.0.vsix.

Tooling

  • The npm publish workflow now derives the package version from the release tag, so @corvidlabs/threemd can no longer lag the git tag.

Verified: swift-format lint clean, 122 Swift tests, 74 TypeScript tests, Rust conformance + clippy + fmt, all 42 conformance vectors green in all three languages, spec-sync 7/7.

SwiftPM:

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