Initial Example Blog Post
Thanks to a plugin called jekyll-titles-from-headings which is supported by GitHub Pages by default, the above header (using one or more # in the markdown file) will be automatically used as the pages title.
If the file does not start with a header, then the post title will be derived from the filename.
This is a sample blog post. We’ll just illustrate some code highligthning here.
This is a (3-rd level) header
Some T-SQL Code
SELECT This, [Is], A, Code, Block -- Using SSMS style syntax highlighting
, REVERSE('abc')
FROM dbo.SomeTable s
CROSS JOIN dbo.OtherTable o;
Some PowerShell Code
Write-Host "This is a powershell Code block";
# There are many other languages you can use, but the style has to be loaded first
ForEach ($thing in $things) {
Write-Output "It highlights it using the GitHub style"
}