I am using Builder Builder Sandcastle and would like to include colored HTML snippets in Conceptual Content. Is this possible, and if so, how?
I tried <code>, <codeExample>, and <sampleCode language = "HTML" />.
The best result so far is HTML coding an HTML sample and putting it in a .snippets file, for example.
<?xml version="1.0" encoding="utf-8" ?>
<examples>
<item id="htmlSnippet">
<sampleCode language="HTML">
<span>My Html</span>
</sampleCode>
</item>
</examples>
Then specify it in the .aml file.
<codeReference>htmlSnippet</codeReference>
I would prefer it to be colored, but I cannot figure out how to add formatting.
source
share