maschmann / MarkdownContentBundle

Enables symfony to render markdown files as static content via dynamic router

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

general tasks

maschmann opened this issue · comments

General tasks I want to finish before first release:

  • implement markdown parsers with tagged services
  • make services configurable
  • add compiler pass to fetch all parsers into a manager
  • add basic page metadata support via codeblock in markdown files
  • dynamically add routes by file/directory names. (compiler pass again? or listener before router?) like: http://tld/prefix/file_or_dir/filename.html

optional:

  • use compiler pass to fetch all available content-changing hooks
  • implement hook-system via tagged services for additional content changes. This should include pre and post conversion hooks. Ideas are at least meta tags as comment-block in template for page meta, additional a post conversion hook to "update" the html markup with bootstrap-blocks. maybe use twig templates for that?