-
-
Notifications
You must be signed in to change notification settings - Fork 615
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
Decoupling Markdown and Twig #235
Comments
The project has changed quite a bit since #116 / I started collaborating, would you be interested in implementing any of these suggestions and submitting a new PR? |
Sure, I'll do it over the weekend. |
I did it, but I don't know if it is worth. In my opinion Pico needs a complete rewrite. |
Not sure if I am right here, but I would like to second the request: It could be determined by the contents file extension
This would make it easy to choose the right markup for whatever the content is. |
As far as I understand this issue right, it is about replacing Markdown, YAML and/or Twig with something different. There are no plannings to completely replace these core parts of Pico, neither in the near, nor the distant future (i.e. Pico 3.0 and later, #317). However, Pico already allows one to achieve most things people are trying to do (like using pure Twig instead of Markdown to represent contents; see #110 (comment)), but we definitely won't support things which are against Pico's basic idea (Markdown + YAML + Twig + 🎉 = Pico - in the simplest, but still most powerful way possible). Adding more and more abstraction contradicts Pico's demand for simplicity (what also applies to the source code). Please refer to #110 (comment) for a more detailed answer why this isn't going to happen, and some explanations on how to still achieve things like this. Thank you for your feedback anyway! 👍 |
Have uou ever thought about decoupling Markdown and Twig from the core, providing them as plugin? This way one could use other template engines and html formatting languages. And why dont you use a proper YAML parser?
The text was updated successfully, but these errors were encountered: