embed html from another file into a markdown document

前端 未结 2 1553
轻奢々
轻奢々 2020-12-11 13:59

If I have an html file somewhere in the same folder as a markdown document, is there any way to embed the entire file inside a markdown document, so that the html will be re

相关标签:
2条回答
  • 2020-12-11 14:32

    Markdown doesn't support includes out-of-the-box. You need to use one of the existing flavors or static site generators that support markdown or/and HTML inclusions. For example, DocFX

    0 讨论(0)
  • 2020-12-11 14:43

    You can't include other Markdown files in Readme (Readme is usually Markdown file). You can use the "Quote" (See example below)

    This is Quote

    > This is Quote
    

    You can see my Markdown guide here

    0 讨论(0)
提交回复
热议问题