Compare commits
4 commits
f6b3d34eff
...
b6c0029208
Author | SHA1 | Date | |
---|---|---|---|
b6c0029208 | |||
8b621cbf30 | |||
e5a2127ecb | |||
91c66cdd48 |
8 changed files with 10 additions and 8 deletions
|
@ -117,7 +117,7 @@
|
|||
|
||||
<script>
|
||||
import 'highlight.js/lib/common'
|
||||
import 'highlight.js/styles/stackoverflow-dark.min.css'
|
||||
import 'highlight.js/styles/nord.min.css'
|
||||
import hljs from "highlight.js"
|
||||
import ActionArgs from "./ActionArgs"
|
||||
import ActionDoc from "./ActionDoc"
|
||||
|
|
|
@ -41,6 +41,7 @@
|
|||
:disabled="readOnly"
|
||||
:value="value"
|
||||
@drag="$emit('drag', $event)"
|
||||
@dragend="$emit('dragend', $event)"
|
||||
@drop="$emit('drop', $event)"
|
||||
v-if="draggable" />
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
<script>
|
||||
import 'highlight.js/lib/common'
|
||||
import 'highlight.js/styles/stackoverflow-dark.min.css'
|
||||
import 'highlight.js/styles/nord.min.css'
|
||||
import hljs from "highlight.js"
|
||||
import Utils from "@/Utils"
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
<script>
|
||||
import axios from 'axios';
|
||||
import hljs from 'highlight.js';
|
||||
import 'highlight.js/styles/github.css';
|
||||
import 'highlight.js/styles/intellij-light.css';
|
||||
|
||||
import FloatingButton from "@/components/elements/FloatingButton";
|
||||
import Highlighter from "./Highlighter";
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
<script>
|
||||
import 'highlight.js/lib/common'
|
||||
import 'highlight.js/styles/stackoverflow-dark.min.css'
|
||||
import 'highlight.js/styles/nord.min.css'
|
||||
import hljs from "highlight.js"
|
||||
|
||||
import CopyButton from "@/components/elements/CopyButton"
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
:disabled="readOnly"
|
||||
:value="value"
|
||||
@drag="$emit('drag', $event)"
|
||||
@dragend="$emit('dragend', $event)"
|
||||
@drop="$emit('drop', $event)"
|
||||
v-if="draggable" />
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
<script>
|
||||
import 'highlight.js/lib/common'
|
||||
import 'highlight.js/styles/stackoverflow-dark.min.css'
|
||||
import 'highlight.js/styles/night-owl.min.css'
|
||||
import hljs from "highlight.js"
|
||||
import CopyButton from "@/components/elements/CopyButton"
|
||||
import Utils from "@/Utils";
|
||||
|
@ -61,9 +61,9 @@ export default {
|
|||
}
|
||||
|
||||
return hljs.highlight(
|
||||
'yaml',
|
||||
'# Currently loaded configuration\n' +
|
||||
this.curYamlConfig
|
||||
this.curYamlConfig,
|
||||
{language: 'yaml'}
|
||||
).value.trim()
|
||||
},
|
||||
},
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
|
||||
<script>
|
||||
import 'highlight.js/lib/common'
|
||||
import 'highlight.js/styles/stackoverflow-dark.min.css'
|
||||
import 'highlight.js/styles/nord.min.css'
|
||||
import hljs from "highlight.js"
|
||||
import CopyButton from "@/components/elements/CopyButton"
|
||||
import Loading from "@/components/Loading"
|
||||
|
|
Loading…
Reference in a new issue