My Quick Style Reference for Jekyll/Markdown/Redcarpet
Code Snippits
Look at me, I’m a php code snippit:
public static function helloWorld(): string {
return sprintf("%s %s", "Hello", "World!");
}
#=> returns "Hello World!"
Moar code highlighting
var s = "JavaScript syntax highlighting";
alert(s);
s = "Python syntax highlighting"
print s
No language indicated, so no syntax highlighting.
But let's throw in a <b>tag</b>.
Can also add inline code snippits with backticks
.
Markdown style Quick Reference:
Emphasis, aka italics, with asterisks or underscores.
Strong emphasis, aka bold, with asterisks or underscores.
Combined emphasis with asterisks and underscores.
Strikethrough uses two tildes. Scratch this.
And image resources: