Me
sebdd

thoughts and inspiration on designing, programming, and writing for the web

  • Blog
  • About
  • Speaking
  • Uses
  • Reads
  • Blogroll
  • Now
  • Newsletter
  • Twitter
  • Mastodon
  • Pinboard
  • Literal
  • Telegram
  • RSS
  • #css
  • #html
  • #javascript
  • #laravel
  • #livewire
  • #misc
  • #mysql
  • #programming
  • #tech
  • #writing

Better code highlighting in Hugo with Torchlight

18 Nov 2022

  • #hugo

During my latest redesign, I replaced Hugo's default code highlighting with Torchlight. In this post, I'll explain how I set up Torchlight CLI for my Hugo site. (Although this can be applied to any static site.)

Read more

Using markdown in HTML (in markdown) in Hugo

25 Jul 2022

  • #hugo

How to write HTML in Hugo without losing markdown capabilities.

Read more

How to schedule posts on a static Hugo site with Netlify and GitHub Actions

8 Oct 2020

  • #netlify
  • #hugo
  • #static-sites
  • #github-actions

If all went well, this post was published automatically. I added the ability to schedule posts on my static blog (built with Hugo). I wrote a short GitHub Action to trigger a build on Netlify every morning.

Read more

Caption images with markdown render hooks in Hugo

8 Jun 2020

  • #hugo

I've been looking for a way to add captions to markdown images without falling back to raw HTML. It turns out Hugo supports this with render hooks.

Read more

blogging since 2015!
syntax highlighting with Torchlight