Bloggoat separates into two words— **Blog** and **Goat**, which are essentially what this is… a blog. I’ll cover mostly programming, and other technical things I think are cool...
Bloggoat separates into two words— Blog and Goat, which are
essentially what this is… a blog. I’ll cover mostly programming, and
other technical things I think are cool. This is a wordpress Ghost Gatsby blog so I’ve got a couple plugins running, first is
MathJax KaTeX, meaning I can have fancy looking math ():
I’m also using highlight.js prism.js highlight.js for syntax highlighting,
which I think looks very nice. It supports modern JS syntax too^[this was written before fetch
existed.]:
const {forEach, map} = [];
document.querySelectorAll("*")::forEach(elem => {
console.log(elem.style.backgroundColor);
});
async function GET(path) {
return new Promise((y, n) => {
let r = new XMLHttpRequest();
r.onreadystatechange = () =>
(r.readyState === 4 && r.status === 200
? y : n)(r);
r.open("GET", path);
r.send
});
}