brendanmetzger / diatom

A template framework
1 stars 0 forks source link

Markdown parser revisions #13

Open brendanmetzger opened 4 years ago

brendanmetzger commented 4 years ago

The nature of blocks has expanded dramatically, in which case a recursive descent parser is a topic worth investigating and drawing inspiration from.


Integrating templates to draw complicated elements like tables.


Markdown should be allowed to be put into anywhere text is interpolated. Part of the difficulty is then you have to allow appending of nodes. While there is somewhat of a facility for that, it might be worth holding out for php 8 and the living DOM standard as it will have the append method built in. Right now markdown is well integrated, and can be flagged for parsing within a document using renders, but it seems like the most interesting solution would be to have this happen almost automatically.

Notables to look into