layout | title | permalink | resource |
---|---|---|---|
page |
Markdown |
/markdown/ |
true |
See Basic Syntax
To shift a block of text to the right/left in Sublime Text, cmd + ]/[
in OSX.
- Comments: Done with a # hash character. Use the command / toggle to comment in/out lines in Sublime and VScode.
Github Flavored Markdown (GFM)
Install Markdown Preview and Package Control:
https://packagecontrol.io/packages/Markdown%20Preview
Add this Sublime keymap shortcut under Preferences > Key Bindings - User:
[
{ "keys": ["command+p"], "command": "markdown_preview", "args": {"target": "browser", "parser":"markdown"} }
]
![](../images/bios-pin.jpg)
To create an anchor to a heading in github flavored markdown. Add - and lowercase characters between each word in the heading and wrap the value in parens (#some-markdown-heading).
So a link like this:
[Critical System and Applications](#critical-system-and-applications)
Will jump to a heading like this:
# Critical System and Applications
Alternatively, use a named html anchor tag like this:
The link breaks. Solution is to remove the period altogether.
[Using Rest.li JARs](#using-restli-jars)
## Using Rest.li JARs
For Markdown-to-Jekyll frontend conversion to work for headings on Github Pages (https://gmcmillan100.github.io/docs/freebsd.html), the following must be true:
- The line immediately before the heading hash (#) must be blank
- No blank space after the #