-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Create a plugin system and a guide on how to create plugins #62
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
Comments
Unlike other static site generators, almost anything can be done either in a custom theme (which is a full Vue app) or tweaking the markdown/postcss/webpack config via the markdown options or build pipeline options. Do you have any specific use case that cannot be solved with these? As for the default theme, it is intended to focus on documentation only for now. |
It would be nice to have documented how e.g. custom containers can be added. I think you can add additional markdown related functions as documented here: https://vuepress.vuejs.org/config/#markdown-config |
@MartinMuzatko built-in containers cannot be changed, at least I don't see a particular reason why you'd want to do that instead of adding a new container type. Containers are added with https://github.com/markdown-it/markdown-it-container |
One problem I have had is the inability to generate flat files based on site data (redirect links, sitemap, rss feeds, other hosting provider configs). I have attempted to solve this problem in #196 which gives themes and the site a possibility to hook into the |
Let's continue discussion at the roadmap "channel" (#198). |
I think Plugins are one of the most essential things in static site generators as they do a lot of functionalities that can not be implemented otherwise so I think there should be a guide explaining how to create a plugin and future plans on the plugin system
The text was updated successfully, but these errors were encountered: