vuepress / vuepress-theme-blog

Default blog theme for VuePress.
https://vuepress-theme-blog.billyyyyy3320.com/
MIT License
209 stars 127 forks source link

Custom summary by markdown slot #19

Closed billyyyyy3320 closed 4 years ago

billyyyyy3320 commented 5 years ago

Feature request

So far, the theme will extract summary from source markdowns automatically as long as the config option summary is true. But some people might want to write their summary manually.

What problem does this feature solve?

Allow developer custom summary.

What does the proposed API look like?

Write it with markdown slot

How should this be implemented in your opinion?

As I said, it should be accomplished by markdown slot. But we have to avoid conflict with the original config option summary.

Are you willing to work on this yourself?

Contribution welcome. I'll do it later if no one take it.

issue-label-bot[bot] commented 5 years ago

Issue-Label Bot is automatically applying the label feature_request to this issue, with a confidence of 0.81. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

billyyyyy3320 commented 4 years ago

Current approach is accomplished by frontmatters.