Md Format Cheat Sheet Excel
Markdown
Markdown cheat sheet for Visual Studio Code Posted on 2020-11-01 by HP Here is a cheat sheet that I found somewhere that will work with Visual Studio Code MD files. Runs the R code, embeds results and text into.md file with knitr 2. Then converts the.md file into the finished format with pandoc Create a Reusable Template 1. Create a new package with a inst/rmarkdown/templates directory 2. In the directory, Place a folder that contains: template.yaml (see below) skeleton.Rmd (contents of the template). Balance assertion 2015/01/01 Pay rent Assets:Savings -$300 = $1200; assert there's $1200 left after Expenses:Rent Flags:. cleared!
Paragraphs
Separate paragraphs with a blank line.
Start each heading with one or more hashes, followed by a space.
*
— ItalicWrap the words in single asterisks.
Wrap the words in double asterisks.
-
— Unordered listStart each line with a dash and a space.
Indent before the dash for nested lists.
Start each line with a number, period & space.
Indent before the number for nested lists.
[]()
— Link[]
— link text inside square brackets.()
— link URL inside round brackets.
Start with an exclamation point.
[]
— alt text inside square brackets.()
— image URL inside round brackets.
---
— Horizontal ruleThree consecutive dashes on a single line.
Surround code inside other text with single backticks.
```
— Code blockStart a line with three backticks to make a code block.
End the code block with three more backticks on their own line.
Optionally specify the code language after the opening backticks.
Non standard. Start a list and used square brackets with a space to denote a task.
Put an “x” between the square brackets to mark it as complete.
YAML
Md Markdown Cheat Sheet
Always indent with two spaces.
Start with a term, no spaces, followed by a colon and a space.
Indent to create nested objects.
- value
— ArraysStart with a dash, and a space.
Arrays inside objects:
Objects inside arrays.
Surround text with quotes (double or single) to escape text.
In all the previous examples the quotes aren’t really necessary. But I find myself almost always adding them for clarity and to prevent myself from having to think about whether I need to escape the or not.
>
— Folded text blockStart with a greater than, and indent the next lines.
The text will be collapsed into a single line when parsed.
Start with a vertical pipe, and indent the next lines.
The text will keep its multiple lines when parsed.
---
— Front matterYAML can be used at the top of Markdown documents to add more structured data.
Surround the YAML with two lines of consecutive dashes.