---
title: "markdown"
output:
html_document:
toc: true
toc_float: true
vignette: >
%\VignetteIndexEntry{markdown}
%\VignetteEngine{knitr::rmarkdown}
%\VignetteEncoding{UTF-8}
params:
region: "NWFSC"
bibliography: references.bib
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>"
)
```
```{r}
#| eval: false
#| warning: false
#| echo: false
params$region <- "NWFSC"
```
# Markdown Notation
Efficiently using this package in the stock assessment workflow requires a basic understanding of markdown notation. In this article, we are going to describe common notation and example using markdown language in which you might use for writing a stock assessment report.
## Summary
### Basic Syntax
| Element | Markdown Syntax |
|---------|-----------------|
| Heading | # H1
## H2
### H3|
| **Bold** | ```` **bold text** ```` |
| *Italic* | ```` *italic* ```` |
| ***Bold & italic*** | ```` *** bold italic*** ```` |
| Blockquote | > blockquote |
| Ordered list | 1. Item #1
2. Item #2
3. Item #3 |
| Unordered list | - Item #1
- Item #2
- Item #3 |
| Code | ```` `code` ```` |
| R code chunk |```` ```{r}
``` ```` |
| Horizontal rule | --- |
| Link | ```` [Text](https://www.example.com) ```` |
| Image | ````  ```` |
| Image in code chunk | `knitr::include_graphics("path/image.png") |
### Extended Syntax
| Element | Markdown Syntax |
|---------|-----------------|
| Markdown table | \| Syntax \| Description \|
\|----------\|-------\|
\| entry 1 \| description \|
\| entry 2 \| description \| |
| Footnote | Sentence with a footnote. [^1]
[^1]: This is a footnote. |
| Heading Labels | ### Heading A {#sec-nameA} |
| Reference heading label | ````@sec-nameA ```` |
| Strikethrough | ````~~Strikethrough~~```` |
| Task list | - [x] Task a
- [ ] task b
- [ ] task c |
| Subscript | ````F~msy~```` |
| Superscript | ````X^2^```` |
| Comment out text | ````