3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-14 21:31:50 +00:00

chore: format

This commit is contained in:
Ruby 2024-06-02 18:24:21 +02:00
parent 93f0fabadf
commit 7770b3e82c
No known key found for this signature in database
GPG key ID: 74D9DB37B03A4804
2 changed files with 5 additions and 5 deletions

View file

@ -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);
}
},
});

View file

@ -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";