How to Insert Jump Anchors on Headings with PugJS

How to Insert Jump Anchors on Headings with PugJS

I’m definitely a fan of cats :smiley_cat: in real life, but when it comes to
code this reverses and I’ve got a preference for Pug :dog: 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.