Property | Type | Default Value | Description |
---|---|---|---|
*languageFn | LanguageFn (opens in a new tab) | n/a | Function that syntax highlights the If your content is some plaintext, you can still use highlight.js' plaintext language function (opens in a new tab) Example: |
*themeCss | string | n/a | CSS string containing styling of the highlighted class. Themes (opens in a new tab) examples: Example: |
*content | string | n/a | Content (code) to be highlighted and annotated. Below is a TypeScript example. ► Example: ► Source Code: |
*annotation | string | n/a | JSON object to specify what to annotate inside ► Example: ► Source Code: |