1

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 metadat enter image description here

  • Did you try to "view source" (on the right side) to see the code? Have you tried the plug-in at https://github.com/KevReed/DocFx.Plugins.PlantUml#usage – Fuhrmanator Aug 20 '22 at 19:43
  • yes i saw it and i could it used it but i need to use PlantUml on metadata (api documentation) not other place , it is same this picture – samira_maleki Aug 20 '22 at 20:14
  • Look at the source of the code in the project of your image -- you should see how the PlantUML is inserted in the metadata (I assume it's in the comments of the .cs file). – Fuhrmanator Aug 20 '22 at 20:26
  • I saw it, but source code is codes of PlantUml Plugin not sample that contains Docfx sample code, and only explained about use normal it in readme not in metadata or .cs file – samira_maleki Aug 20 '22 at 20:45
  • Do you think what tag (PlantUML) is specified in the comments of the .cs file? @Fuhrmanator – samira_maleki Aug 20 '22 at 20:59

1 Answers1

1

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