如何在另一个 markdown 文件中读取一个 markdown 文件?
How to read a markdown file in another markdown file?
我的目的是将许多用 markdown 编写的描述收集到一个 markdown 文件中,作为一篇综合文章。
例如./f1/a.md
This is the description for f1 project.
并在./b.md
The introduction of f1 project is shown below,
<!-- Contain of the a.md goes here -->
b.md 的预期结果应该是,
The introduction of f1 project is shown below,
This is the description for f1 project.
那么,如何实现这个功能呢?
Markdown 本身不支持文件包含,但根据您使用的 Markdown 处理器,您有几个选择:
我的目的是将许多用 markdown 编写的描述收集到一个 markdown 文件中,作为一篇综合文章。
例如./f1/a.md
This is the description for f1 project.
并在./b.md
The introduction of f1 project is shown below,
<!-- Contain of the a.md goes here -->
b.md 的预期结果应该是,
The introduction of f1 project is shown below,
This is the description for f1 project.
那么,如何实现这个功能呢?
Markdown 本身不支持文件包含,但根据您使用的 Markdown 处理器,您有几个选择: