Skip to content Skip to sidebar Skip to footer

Embed Html From Another File Into A Markdown Document

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 rendered

Solution 1:

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


Solution 2:

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


Post a Comment for "Embed Html From Another File Into A Markdown Document"