Skip to main content
Dublin Library

The Publishing Project

Migrating from WordPress to Eleventy

For a while I've been thinking about moving my blog out of WordPress and into a static site. There are a number of reasons why I want to do this but the main one relates to the block editor The block editor makes it harder for me to create custom content the way that I want to do it. Rather than use...

Working with local fonts

Web fonts are awesome but there are times when they are not enough. There may be foundries that don't provide web versions of their fonts or licenses to use their fonts on the web. Chromium browsers now have the choice of using local fonts for your web projects. This will allow users to take full...

My Markdown Cheatsheet

One of the reasons to move my blog from WordPress to Eleventy was the flexibility of convert the Markdown I write into proper HTML without using raw HTML in the Markdown files. But adding Markdown-it plugins mean additional syntax to remember and different ways to use established Markdown-it...

Color tools and experiments - Color Converter

The more I play with color.js, the more I love it. I created two simple tools on top of it to make my life easier. The first one is a color converte. This post will discuss why I created it and how it works. The tools # I've built each tool as a separate Vite project to make sure I got them...

Custom List Styles in CSS

CSS lists look nice with the standard list styles but there are cases when we may want to use special characters in the styles, the language that we use may have special, or we may just want to have fun. To modify the appearance of lists we'll look at the list-style-type property and the...

Javascript events

When working on a demo for a different post, I realised that I don't really know how events work beyond how to add them to the page. This post will look at events and events listeners, how to add them to the page and additional information that may be useful when working with events. What are...

Programmatically manipulating CSS classes

When working with Javascript there will be times when we need to change the CSS we apply to the web pages we're working on. Javascript provides two methods to manipulate an HTML element's classes: className and classList. For this post we'll concentrate in classList since it provides methods to...

Node native .env support

Starting in Node 20.6.0 there is built-in support for loading environment variables from a .env file into process.env as recommended in The Twelve-Factor App methodology. In this post we'll talk about .env, what it is, why use it, and how it works in Node. What is .env file and why use it? # An...

Testing Footnotes

I can use Google Earth Web and get the satellite image. I can’t get detailed resolution and the satellite image I get doesn’t show anything about the current war on either side. If it has been disabled, do you know who asked Google to disable satellite imagery? You’re assuming it was Google’s...

Updates to @font-face (part 2) (2023)

@font-face has been around for a while and it works fine for the existing monochrome, one file per style fonts that we've been using so far. CSS Fonts level 4 introduced two new properties to the src attribute the of @font-face at-rule. These attributes are tech() and format(). We will discuss each...

Archive Navigation