Page Config
大约 1 分钟
Content before more
comment is regarded as page excerpt.
Page Title
The first H1 title in Markdown will be regarded as page title.
You can also set title in Markdown's Frontmatter:
---
title: Page Title
---
Page Information
You can set page information in Markdown's Frontmatter.
- The author is Ms.Hope.
- The writing date is January 1, 2020
- Category is "Guide"
- Tags are "Page Config" and "Guide"
Page Content
You are free to write your Markdown here.
Assets
- You can place images besides your Markdown files nd use relative links.
- For images in
.vuepress/public
directory, please use absolute links (i.e.: starting with/
).
Components
Each markdown page is converted into a Vue component, which means you can use Vue syntax in Markdown:
2
- 1
- 2
- 3
You can also create and import your own components.
Input:
Output: Hello world!
The theme contains some useful components. Here are some examples:
A dark blue badge text badge at the end of line. Badge text
A card:
Mr.HopeWhere there is light, there is hope