docfx Markdown 文件之间的共享内容
docfx Shared Content between Markdown Files
在 DocFX 中,我有一段内容需要放在所有(或大多数)降价文件中。有没有办法将另一个 md
文件的内容合并或拉入当前文件?基本上我尽量不重复自己并寻找某种共享机制。
您可以使用 file inclusion 执行此操作,它是 DocFX 风格降价 (DFM) 的一部分。
DFM adds syntax to include other file parts into current file, the
included file will also be considered as in DFM syntax.
在 DocFX 中,我有一段内容需要放在所有(或大多数)降价文件中。有没有办法将另一个 md
文件的内容合并或拉入当前文件?基本上我尽量不重复自己并寻找某种共享机制。
您可以使用 file inclusion 执行此操作,它是 DocFX 风格降价 (DFM) 的一部分。
DFM adds syntax to include other file parts into current file, the included file will also be considered as in DFM syntax.