| Tecnate | Last Updated: 2024-05-19 |
VSCode Markdown Preview Shortcut:
⌘K V(note space).
- After opening Preview,
⌘+Shift+Pand searchMarkdown: Open Locked Preview to the Sideto lock the preview mode on this document. (Otherwise, if you open another Markdown file, the preview window will switch that the new file.)
This is a quick reference guide for the most common Markdown syntax you’ll need for your documents. For the best viewing and editing experience of this and other Markdown files:
Markdown All in One extension.⌘K VParagraphs are the default. No special tags required for this magic!
⇧⌥- — (Em Dash)Blockquotes can be nested:
> Level 1
> > Level 2
> > > Level 3
Remove the spaces inside the parentheses of these elements:
To see these replacements in your preview window in VSCode, you need to change the default settings:
VSCode Settings:
⌘,
Markdown › Preview: Typographer- Check to enable.
This is how you make a link to Github with a URL.
You can link to other files as well. Type ## in the link to trigger intellisense and see markdown headers in the current workspace.
Images are similar to links
Alternatively, drag an image while holding SHIFT into your document
console.log(
"Remember to include your code language after the backticks above."
);
<br> wherever you want a line break.--- will create a horizontal rule:h1 and h2 headings.Use - to create lists:
Start numbered lists by typing 1. (note the space); press Return or Enter to start a new line/number; press Tab or Shift+Tab after a list level to nest items underneath it.
Note: it doesn’t matter if you type the correct sequential number after 1. . Any number you type will automatically render as the next number in the list.