Brendan Lindsey

Markdown Posts! ...and LLMs

Heading

I've been meaning to add markdown support to my website for a while now. I wanted to have an easier time authoring posts. I had a back and forth with an LLM working on a plan via a phone app and then had it generate a PR. I'm testing it now and the functionally is 100% there for what I need.

I find it somewhat disconcerting how easily we can generate code like this. I'm not the first dev to express that opinion so I won't go too in depth. There's been a fundamental shift in software development as a career yet again. For me, this is the first large one I've been in the industry for. It seems like there's been some sort of inflection point these last few months. I'm still collecting my thoughts on it.

What works

  • Headings, paragraphs, and horizontal rules
  • Lists like this one
  • Bold and italic text
  • inline code and code blocks
  • Links
  • Blockquotes
  • Images supposedly work as well.

Writing in Markdown is much faster than writing raw JSX.

Code example

// A simple function
function greet(name) {
  return `Hello, ${name}! Welcome to the internet. We have everything all of the time.`
}