Skip to content

petroemil/petroemil.github.io

Repository files navigation

Experimental Personal Blog

ASP.NET Blazor

The blog is an ASP.NET (client side) Blazor site hosted as static content on GitHub Pages.

CommonMark.NET for Markdown parsing and HihlightJS for syntax highlighting

All posts are going to be written in markdown that then gets parsed, syntax highlighted and converted to HTML.

The Markdown to HTML parsing is using the CommonMark.NET library with some custom formatting for code blocks to have syntax highlighting.

The custom syntax highlighter is the HighlightJS library that is being invoked via JavaScript Interop.

Single Page Apps for GitHub Pages

To enable routing within the SPA, I'm using the SPA for GitHub "hack" from Rafael Pedicini.

GitHub Corner

The little animated GitHub link it the top-right corner is cominf from the GitHub Corner project by Tim Holman.

GitHub Actions

GitHub Actions is used to have Continuous Deployment set up if the source code changes.