Skip to content

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:

PropTypeDefaultNote
langString-Define code language.

COPYRIGHT