An image like (with `src` attribute) component to load and render markdown code.
npm install @xprng/markdownAn image like (with src attribute) component to load and render markdown code.
``shell`
npm install @xprng/markdown marked shiki
The package peer-depends on marked for parsing
markdown, Shiki for syntax highlighting, and Angular.
`typescript`
import { Markdown } from "@xprng/markdown";
`html`
`html`
You can use nested components to display loading and error states.
`html`
The state components are imported from the @xprng/common
package.
See @xprng/content for more details about languages and
themes supported.
Set a theme on a component:
`html``