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
[x] amend constructor of extended DOM Text class to automatically scan for markdown (similar)
[x] make the regex that scans for possibility of markdown ore general, or automatically apply to constructor of new Inline
[x] appending Elements with non Text only nodes (ie, has Text and Element children)
Automatically parsing nested element strings into proper markdown, perhaps as a way to circumvent complicated embedding
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
new Inline