47d1a8d59c
* feat: add rawContent obj with html helper * refactor: change toString to function call * test: rawContent helpers * chore: update MarkdownInstance type * refactor: parseHtml -> html * chore: changeset * fix: remove needless async heading on content version * fix: fixLineEndings helper on unit tests * refactor: change api to raw and compiled * chore: add new type to env.d.ts * docs: JSdocs for raw and compiled * refactor: change API AGAIN to rawContent, compiledContent * chore: update changeset
204 B
204 B
astro |
---|
minor |
Add content parsing helpers to imported markdown files. This exposes both the raw markdown content when using rawContent() and the parsed Astro syntax when using compiledContent()