generated from chadbaldwin/simple-blog-bootstrap
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
1 addition
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1 @@ | ||
## Blog Post Title From First Header | ||
|
||
Due to a plugin called `jekyll-titles-from-headings` which is supported by GitHub Pages by default. The above header (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. You can talk about all sorts of fun things here. | ||
|
||
--- | ||
|
||
### This is a header | ||
|
||
#### Some T-SQL Code | ||
|
||
```tsql | ||
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 | ||
|
||
```powershell | ||
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" | ||
} | ||
``` | ||
##Test |