mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-14 21:31:50 +00:00
chore: format
This commit is contained in:
parent
93f0fabadf
commit
7770b3e82c
2 changed files with 5 additions and 5 deletions
|
@ -1,10 +1,10 @@
|
|||
import Vue from "vue";
|
||||
import hljs from "highlight.js/lib/core";
|
||||
import Vue from "vue";
|
||||
|
||||
Vue.directive("highlightjs", {
|
||||
bind(el, binding) {
|
||||
if(!el.classList.contains("plain")) {
|
||||
hljs.highlightElement(el);
|
||||
};
|
||||
if (!el.classList.contains("plain")) {
|
||||
hljs.highlightElement(el);
|
||||
}
|
||||
},
|
||||
});
|
||||
|
|
|
@ -10,8 +10,8 @@ import "highlight.js/styles/base16/ocean.css";
|
|||
import { router } from "./routes";
|
||||
import { RootStore } from "./store";
|
||||
|
||||
import "./directives/trim-indents";
|
||||
import "./directives/highlightjs";
|
||||
import "./directives/trim-indents";
|
||||
|
||||
import App from "./components/App.vue";
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue