pub fn render_aozora_only(text: &str) -> Result<JsValue, JsValue>Expand description
Render aozora-only inline text (no markdown re-parse).
Routes through the full afm pipeline with default options.
The naming preserves an entry point that callers can target
without committing to the renderAfm shape; the implementation
is intentionally a thin wrapper because the aozora-render
boundary lives in the sibling repo (ADR-0010) and afm
composes — never extends — its public API.
§Errors
Returns Err(JsValue::String) when the resulting RenderResult
cannot be serialized back to JS.