Preserving Tags in DocFX Conceptual Documentation

Viewed 47

I want DocFx to preserve or escape tags such as < and > in the content of generated html files.

Currently, DocFx converts < and > to &lt; and &gt; respectively in the generated html file content.

I am looking for a way to pass dynamic data to the html documentation by using php tags <?php so that I configure the web server to pass .html files in a directory to PHP processor.

However, when I include <?php in the documentation, the build creates in the content as &lt;?php which doesn't cause the PHP code to be executed.

Kindly help if there is a way to let DocFx escape certain tags in conceptual documentation or with markdown.

Thanks in advance.

0 Answers
Related