SHFB colorizes the content of <code> elements. In the absence of a "lang" attribute, it defaults to colorizing the code block as C# or the language you choose in the component configuration. If you want to apply your own coloring using HTML tags, add a lang="none" attribute to the <code> tag so that it passes the content through as-is. If you'd prefer all code elements with no language attribute to be uncolorized, you can make it so by setting the default language to None in the Code Block Component configuration via the project's ComponentConfigurations project property.
Eric
Hi Eric
Thanks for the swift answer, now it works!
By the way: We write Xaml code-fragements in out docs.
I tryed <Code lang = "xaml">
But it looks like Xaml-Code is not supported now. Do you know when xaml will be supported?
Horst