Latest Addition Code Tags
I've spoken before about how this website is my own concoction written using a combination of a zip file and pages written in a markdown script to generate a static website. As such, it's evolved in an agile way according to requirements set by me as the ultimate end user.
This means that while I do have a working piece of blogging software, there are gaps in the functionality in places where I've simply not needed that functionality. One particular bit of functionality that was absent up until now was the ability to include code snippets. This post represents both a test that this is no longer the case and an announcement of the same.
So here's a little test of some C#:
using System;
namespace SiteGenerator
{
class TestClass
{
}
}
And here's a test of some XML:
<Button guid="guidBvNugetPreviewGeneratorPackageCmdSet" id="GeneratePreviewNugetCommandId" priority="0x0100" type="Button">
<Parent guid="guidBvNugetPreviewGeneratorPackageCmdSet" id="ProjMenuGroup" />
<Icon guid="guidImages" id="bmpPic1" />
<Strings>
<ButtonText>Generate Preview Nuget Package</ButtonText>
</Strings>
</Button>
Postscript: The experiment was reasonably successful, a little CSS was needed to get the code blocks looking nice, but all in all a successful test.
Published on 11:21:53 20 Mar 2025