aboutsummaryrefslogtreecommitdiffhomepage
path: root/services/app/assets/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'services/app/assets/index.js')
-rw-r--r--services/app/assets/index.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/services/app/assets/index.js b/services/app/assets/index.js
new file mode 100644
index 0000000..74a0682
--- /dev/null
+++ b/services/app/assets/index.js
@@ -0,0 +1,13 @@
+import hljs from 'highlight.js/lib/core';
+import php from 'highlight.js/lib/languages/php';
+import plaintext from 'highlight.js/lib/languages/plaintext';
+import 'highlight.js/styles/github.css';
+import 'bootstrap/dist/css/bootstrap.css';
+
+document.addEventListener('DOMContentLoaded', () => {
+ hljs.registerLanguage('php', php);
+ hljs.registerLanguage('plaintext', plaintext);
+ hljs.highlightAll();
+});
+
+console.log(`#Albatross!`);