Crate & Package Structure
SkillDocs & knowledgeMap of the html-to-markdown workspace — the seven `crates/` (core, cli, ffi, py, node, php, wasm) with the unsafe_code forbid/override rule, the out-of-workspace language packages under `packages/`, and the primary `convert()` API with its ConversionResult shape, feature flags, and dual parser. Load when navigating crates/packages, deciding where code belongs, or working with the core conversion API.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the Crate & Package Structure skill
What this skill tells your AI
The instructions your AI receives, as published by xberg-io/html-to-markdown in .ai-rulez/skills/crate-structure/SKILL.md and read by ahel’s review.
Workspace crates (crates/)
html-to-markdown— core library, primary Rust API,unsafe_code = "forbid"at workspace levelhtml-to-markdown-cli— CLI binary (clap)html-to-markdown-ffi— C FFI bridge, cbindgen headers, only crate that overrides unsafe_code linthtml-to-markdown-py— PyO3 Python bindinghtml-to-markdown-node— NAPI-RS Node/TypeScript bindinghtml-to-markdown-php— ext-php-rs PHP bindinghtml-to-markdown-wasm— wasm-bindgen WebAssembly binding
Out-of-workspace packages (packages/)
csharp/,elixir/,go/,java/,r/,ruby/— language-native packages wrapping the FFI cratephp/,python/,typescript/,wasm/— distribution packages
Primary API
convert(&str, Option<ConversionOptions>) -> Result<ConversionResult, ConversionError>ConversionResult:content,warnings, optionallymetadataandinline_images(feature-gated)- Feature flags:
inline-images,metadata,visitor(custom traversal),serde - Dual parser: html5ever (spec-compliance) and astral-tl (performance), selectable via
ConversionOptions
Signals
- GitHub stars
- 869
- Forks
- 70
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
crate-structure- Source
- github.com/xberg-io/html-to-markdown