Mirror of my GitHub Pages site
0

Configure Feed

Select the types of activity you want to include in your feed.

Update Steamdown page

This adds a link to the source code and updates the navigation link.

Spenser Black (Jul 15, 2026, 7:23 PM EDT) 42fad4c4 e8e9cb90

+12 -5
+8 -4
src/components/Header.astro
··· 1 1 --- 2 - const pages: [description: string, link: string][] = [ 2 + const pages: [ 3 + description: string, 4 + link: string, 5 + attrs?: Record<string, string>, 6 + ][] = [ 3 7 ["Homepage", "/"], 4 8 ["Projects", "/projects/"], 5 - ["Markdown for Steam", "/steamdown/"], 9 + ["Steamdown", "/steamdown/", { title: "Markdown for Steam" }], 6 10 ]; 7 11 --- 8 12 ··· 16 20 > 17 21 <nav id="nav-menu"> 18 22 { 19 - pages.map(([description, link]) => ( 20 - <a class="button primary" href={link}> 23 + pages.map(([description, link, attrs]) => ( 24 + <a class="button primary" href={link} title={attrs?.title}> 21 25 {description} 22 26 </a> 23 27 ))
+4 -1
src/pages/steamdown.astro
··· 18 18 <p> 19 19 This is a tool I wrote to convert Markdown (well, a Markdown-<em>like</em> syntax) 20 20 to <ExternalLink link={markupLink}>Steam's markup language</ExternalLink>. 21 - Check out <a href="/projects">my projects</a> for more information. 21 + You can find the source code at <ExternalLink 22 + link="https://github.com/spenserblack/steamdown" 23 + >github.com/spenserblack/steamdown</ExternalLink 24 + >, or check out <a href="/projects">my projects</a> for more information. 22 25 </p> 23 26 <form id="steamdown-form"> 24 27 <label for="steamdown-source">Source</label>