How to insert jump anchors on headings with PugJS

1 · Peter Thaleikis · June 25, 2019, midnight
I'm definitely a fan of cats 😺️ in real life, when it comes to code this reverses and I've got a preference for Pug 🐶️ For those who aren't coders: PugJS is a JavaScript template engine. It converts Pug-lang into HTML. I know there is more power in PugJS, besides the simple turning the Pug-lang into HTML. At the moment I'm not using the potential of the language — I use PugJS mostly to hold my content. Let's look at some ways to get more out of Pug I've learned about recently. If you are using P...