Pretty print everything
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
This commit is contained in:
parent
cfd2152d31
commit
55319a84da
4 changed files with 48 additions and 47 deletions
|
@ -1,4 +1,4 @@
|
|||
document.addEventListener('DOMContentLoaded', (event) => {
|
||||
const elem = document.getElementById('pastecontent');
|
||||
document.addEventListener("DOMContentLoaded", (event) => {
|
||||
const elem = document.getElementById("pastecontent");
|
||||
hljs.highlightElement(elem);
|
||||
});
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
@import url('https://fonts.googleapis.com/css?family=IBM Plex Sans');
|
||||
@import url('https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.6.0/styles/atom-one-dark.min.css');
|
||||
@import url('https://cdnjs.cloudflare.com/ajax/libs/hack-font/3.3.0/web/hack.css');
|
||||
@import url("https://fonts.googleapis.com/css?family=IBM Plex Sans");
|
||||
@import url("https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.6.0/styles/atom-one-dark.min.css");
|
||||
@import url("https://cdnjs.cloudflare.com/ajax/libs/hack-font/3.3.0/web/hack.css");
|
||||
|
||||
body {
|
||||
font-family: 'IBM Plex Sans';
|
||||
font-family: "IBM Plex Sans";
|
||||
}
|
||||
|
||||
pre {
|
||||
|
@ -16,5 +16,5 @@ pre {
|
|||
}
|
||||
|
||||
.hljs {
|
||||
font-family: 'Hack' !important;
|
||||
font-family: "Hack" !important;
|
||||
}
|
||||
|
|
|
@ -5,4 +5,4 @@ module.exports = {
|
|||
extend: {},
|
||||
},
|
||||
plugins: [],
|
||||
}
|
||||
};
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<!doctype html>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
|
@ -7,6 +7,7 @@
|
|||
<link rel="stylesheet" href="/static/styles.css" />
|
||||
<script src="/static/scripts.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.6.0/highlight.min.js"></script>
|
||||
</head>
|
||||
<body class="bg-zinc-800">
|
||||
<div class="flex flex-col items-center space-y-12">
|
||||
<h2 class="text-3xl font-bold text-gray-300">Obsolute Paste</h2>
|
||||
|
|
Loading…
Reference in a new issue