
Some tools for easier blogging with VS Code.
I've bounced in and out of Hugo for a few years but, since last fall, I've finally invested in making a workflow that works for me. Originally it was just a set of scripts for things like handling taxonomies, creating and publishing drafts automatically and a few other things. Lately it's been expanding on those scripts with new VS Code extensions for making image handling easier and better counting my words to publishing. Since March or so I've started publishing all this stuff in hopes it might help some other folks too. Here's what I've got:
First, my theme: https://github.com/ChrisWiegman/kana-hugo-theme
Next my OG scripts which I've published as an npm package: https://www.npmjs.com/package/@chriswiegman/hugo-tools
Then there's two VS Code extensions:
This one better handles word counts in content: https://marketplace.visualstudio.com/items?itemName=ChrisWiegman.cw-markdown-word-count
And this one let's me just drag and drop images into my content while the extension handles the rest: https://marketplace.visualstudio.com/items?itemName=ChrisWiegman.vscode-hugo-image-importer
Taken together, they're finally a way for me to make use of Hugo without wanting to go back to WordPress. Most of my career was spent in WP including some of the bigger plugins so escaping its gravity was harder for me than most. Here's to hoping these can make things a bit easier for y'all as well.