Appearance
Highlighter
EHighlighter
syntax highlights code snippets. To apply, you must provide the code as a string within the component.
Usage
vue
<template>
<EHighlighter lang="language-js">`const var = 1`</EHighlighter>
</template>
Props
For EHighlighter
component, the following props are available:
Prop | Type | Default | Note |
---|---|---|---|
lang | String | - | Define code language. |