Search code examples
metadatadocumentationplantumldocfx

Docfx PlantUml Metadata


Is there a sample code for using PlantUml in metadata (API documentation) Docfx? It is like this image:

enter image description here

For example, the following picture is another place that's means article menu no on metadata:

enter image description here


Solution

  • It resolved with wrap markdown in a XML CDATA block in the .CS file

    CDATA

    ///<summary>
    ///<![CDATA[
    ///```plantuml
    ///interface IAnimal {
    ///Name : string
    ///}
    ///```
    ///]]>
    ///</summary>
    
    

    enter image description here