Markf文件包含传递参数的Markdown

问题描述 投票:0回答:1

如何将参数传递给包含的文件?

文件包含工作:

[!include[file2](file2.md)]

但我想传递参数。就像是:

{% include "file2.md" with
    {
        "name": "x"
    }
%}

file2.面对:

# Hi {{name}}
markdown github-flavored-markdown docfx
1个回答
0
投票

DocFX不支持它。您可以在https://github.com/dotnet/docfx/issues中打开功能请求

© www.soinside.com 2019 - 2024. All rights reserved.