commonmark / commonmark-spec

CommonMark spec, with reference implementations in C and JavaScript
http://commonmark.org
Other
4.89k stars 317 forks source link

support the 'include' syntax #762

Closed silence-coding closed 9 months ago

silence-coding commented 9 months ago

I hope to support the 'include' syntax, which would allow displaying the content of another file within the current Markdown. Similar to the 'include' syntax in PlantUML.

@startuml
!include  ../modelbase.puml
@enduml
silence-coding commented 9 months ago

close by https://talk.commonmark.org/t/is-it-possible-to-include-files-in-commonmark/4128