Michael Laszlo

Introduction to cursor maintenance

This article is for developers who are building a text input field that offers a movable cursor and applies formatting in the same field. Whether the format is applied after every keystroke or after a special user action, you have to decide where to put the cursor after the text has been formatted. If you are familiar with the problem of maintaining cursor position in a formatted input field, you may want to go straight to my source code.

My first adventure with Hugo

Hugo looks like a reasonable system for generating static websites. I’ll start working with it and I’ll document the process as I go along. My immediate goal is to set up Hugo in a vanilla configuration and use it to post a new piece of content. The official Hugo documentation covers many usage scenarios. Here I’ll describe one possible path to setting up Hugo and using it for the first time.