Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get an overview from a markdown file #174

Closed
stickmy opened this issue Apr 20, 2018 · 4 comments
Closed

How to get an overview from a markdown file #174

stickmy opened this issue Apr 20, 2018 · 4 comments

Comments

@stickmy
Copy link
Contributor

stickmy commented Apr 20, 2018

How to get an overview from a markdown file like <!-- more --> tag in hexo

@mdaffin
Copy link
Contributor

mdaffin commented Apr 20, 2018

Vuepress uses yaml-front-matter which as far as I can tell does not support this feature. gray-matter however does support this and @yyx990803 is open to a pull request to switch to it (as part of also supporting toml/json frontmatter in #141)

@ulivz
Copy link
Member

ulivz commented Apr 20, 2018

You mean the TOC?

@stickmy
Copy link
Contributor Author

stickmy commented Apr 21, 2018

@ulivz Not the TOC, what I want is a part of the article as an overview to show in the article list

@stickmy
Copy link
Contributor Author

stickmy commented Apr 21, 2018

@mdaffin Thanks!

meteorlxy added a commit that referenced this issue Jun 17, 2021
- refactor: extract css vars to a separate file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants