blob: 74a06823bf2c7b9001a690e2efbc36d4cb9914e2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
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!`);
|