CodeMirror is a wonderful utility for highlighting code This component provides a way to render a piece of code in a human readable way. By default, the code will be editable by the user; to make it a read-only, use the readOnly config option
readOnly
CodeMirror Config Options See the docs
CodeMirror modes See the docs
import Vue from 'vue'; import NCodemirror from '@arckinteractive/noah-ui/src/extensions/NCodemirror'; Vue.use(NCodemirror);