Style Guide
Here's a reference guide for markdown styling for VuePress projects in action!
Badges
Markdown Syntax:
VuePress - <Badge type="tip" text="v2.x.x" vertical="top" />
VuePress - <Badge type="warning" text="v2.x.x" vertical="middle" />
VuePress - <Badge type="danger" text="v2.x.x" vertical="bottom" />
Output:
VuePress - v2.x.x
VuePress - v2.x.x
VuePress - v2.x.x
Blockquotes
Markdown Syntax:
> This is a simple blockquote.
> **Blockquotes**
> Can span multiple lines
> (if _two spaces_ are added to the END of each non-ending line!)
2
3
Output:
This is a simple blockquote.
Blockquotes
Can span multiple lines
(if two spaces are added to the END of each non-ending line!)
Code: Block
Markdown Syntax:
- Markdown code blocks can be done with 3 opening and closing backticks (```)
- Or by using indent 4 spaces prior to the conten on each line
- Code blocks can specify languages immediately after the opening 3 backticks
- Examples: ```js, ```html, ```php, ```css, ```scss, etc.
- Lines in code blocks can be highlighted singulary or in ranges
- Syntax Examples: ```js{1}, ```js{1,3}, ```js{2-3}, ```js{1,2-3}
Code: Inline
Markdown Syntax:
`Inline code` with backticks
Output:
Inline code with backticks
Code: Tabbed Group Blocks
Markdown Syntax:
:::: code-group
::: code-group-item NPM
# code block here...
:::
::: code-group-item YARN
# code block here...
:::
::::
2
3
4
5
6
7
8
9
10
11
Output:
npm install
yarn add
Custom Containers: Basic
Markdown Syntax:
::: tip
This is a tip
:::
2
3
::: warning
This is a warning
:::
2
3
::: danger
This is a dangerous warning
:::
2
3
::: details
This is a details block
:::
2
3
Output:
TIP
This is a tip
WARNING
This is a warning
DANGER
This is a dangerous warning
This is a details block
Custom Containers: With Heading
Markdown Syntax:
::: tip TIP HEADING
This is a tip
:::
2
3
::: warning WARNING HEADING
This is a warning
:::
2
3
::: danger DANGER HEADING
This is a dangerous warning
:::
2
3
::: details Details Heading
This is a details block
:::
2
3
Output:
TIP HEADING
This is a tip
WARNING HEADING
This is a warning
DANGER HEADING
This is a dangerous warning
Details Heading
This is a details block
Headings
Markdown Syntax:
# Heading Level 1
## Heading Level 2
### Heading Level 3
#### Heading Level 4
##### Heading Level 5
###### Heading Level 6
Horizontal Rule
Markdown Syntax:
---
Output:
Images
Markdown Syntax:

Output:

Links: External
Markdown Syntax:
[OBE:WDS](https://obewds.com)
Output:
Links: Internal
Markdown Syntax:
[Relative Home Link](index.html)
Output:
Lists: Bulleted
Markdown Syntax:
* Bullet One
* Bullet Two
* Bullet Three
* Sub-Bullet One
* Sub-Sub-Bullet One
2
3
4
5
Output:
- Bullet One
- Bullet Two
- Bullet Three
- Sub-Bullet One
- Sub-Sub-Bullet One
- Sub-Bullet One
Lists: Numbered
Markdown Syntax:
1. Numbered One
1. Numbered Two
1. Numbered Three
2
3
Output:
- Numbered One
- Numbered Two
- Numbered Three
Text: Bold
Markdown Syntax:
**Bold Text**
__Bold Text__
Output:
Bold Text
Text: Italic
Markdown Syntax:
_Italic Text_
*Italic Text*
Output:
Italic Text