Roave / DocbookTool

:books: Docbook Tool for static documentation generation from Markdown files
52 stars 4 forks source link

Added support for inlining an external PUML diagram #354

Closed asgrim closed 9 months ago

asgrim commented 9 months ago

A PlantUML diagram referenced externally like an image can now be inlined, and subsequently rendered by the DocbookTool.

For example:

![some diagram](diagram.puml)

will become inlined:

```puml
@startuml
...
@enduml


which is subsequently picked up by the `\Roave\DocbookTool\Formatter\RenderPlantUmlDiagramInline` formatter to convert it into a PNG diagram.