diff --git a/resource/markdown.qmd b/resource/markdown.qmd index e8735d5..5b1342b 100644 --- a/resource/markdown.qmd +++ b/resource/markdown.qmd @@ -4,164 +4,111 @@ title: Using Markdown [Markdown](https://daringfireball.net/projects/markdown/) is a special kind of markup language that lets you format text with simple syntax. You can then use a converter program like [pandoc](https://pandoc.org/) to convert Markdown into whatever format you want: HTML, PDF, Word, PowerPoint, etc. ([see the full list of output types here](https://pandoc.org/MANUAL.html#option--to)) -## Basic Markdown formatting - -
Type… | -…or… | -…to get | -
---|---|---|
Some text in a paragraph. |
-- | Some text in a paragraph. -More text in the next paragraph. Always -use empty lines between paragraphs. |
-
\*Italic\* |
-\_Italic\_ |
-Italic | -
\*\*Bold\*\* |
-\_\_Bold\_\_ |
-Bold | -
# Heading 1 |
-- | -Heading 1 - |
-
## Heading 2 |
-- | -Heading 2 - |
-
### Heading 3 |
-- | -Heading 3 - |
-
(Go up to heading level 6 with ###### ) |
-- | - |
\[Link text\](http://www.example.com) |
-- | Link text | -
!\[Image caption\](/path/to/image.png) |
-- | - |
`` `Inline code` `` with backticks | -- | Inline code with backticks |
-
> Blockquote |
-- | - |
-
- Things in -- an unordered -- list |
-* Things in -* an unordered -* list |
-
|
-
1. Things in -1. an ordered -2. list |
-1) Things in -1) an ordered -2) list |
-
|
-
Horizontal line - ---- |
-Horizontal line - -*** |
-Horizontal line - |
-
Type… | -…to get | -
---|---|
Based on the DAG, the regression model for -estimating the effect of education on wages -is $\hat{y} = \beta_0 + \beta_1 x_1 + \epsilon$, or -$\text{Wages} = \beta_0 + \beta_1 \text{Education} + \epsilon$. |
-Based on the DAG, the regression model for +You can use math in two different ways: inline or in a display block. To use math inline, wrap it in single dollar signs, like `$y = mx + b$`: + +::: {.callout-tip} +### Inline math + +**Type…** + +```default +Based on the DAG, the regression model for estimating the effect of education on wages is $\hat{y} = \beta_0 + \beta_1 x_1 + \epsilon$, or -$\text{Wages} = \beta_0 + \beta_1 \text{Education} + \epsilon$. | -