Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Commit ad2d689

Browse files
committed
fix: gap between tags and heading1 is too narrow (fix #112)
1 parent c17121d commit ad2d689

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

example/_posts/2018-11-7-frontmatter-in-vuepress-2.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ author: ULIVZ
88
location: Hangzhou
99
---
1010

11+
# 123
12+
1113
Any markdown file that contains a YAML front matter block will be processed by [gray-matter](https://github.com/jonschlinkert/gray-matter). The front matter must be the first thing in the markdown file and must take the form of valid YAML set between triple-dashed lines. Here is a basic example:
1214

1315
```markdown

styles/mobile.styl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@
44
// @media (max-width: $MQNarrow)
55

66
// wide mobile
7-
@media (max-width: $MQMobile)
8-
{$contentClass}:not(.custom) > h1:first-child
9-
padding-top 2rem
7+
// @media (max-width: $MQMobile)
108

119
// narrow mobile
1210
@media (max-width: $MQMobileNarrow)

0 commit comments

Comments
 (0)