Commit 3c1c93c1 authored by Niklas Janz's avatar Niklas Janz Committed by Amy Qualls

Add file extension notes

To clarify what file extensions are needed to trigger the PlantUML
process.
parent 49d63fea
......@@ -21,7 +21,7 @@ blocks to an HTML image tag, with the source pointing to the PlantUML instance.
diagram delimiters `@startuml`/`@enduml` aren't required, as these are replaced
by the `plantuml` block:
- **Markdown**
- **Markdown** files with the extension `.md`:
````markdown
```plantuml
......@@ -30,7 +30,10 @@ by the `plantuml` block:
```
````
- **AsciiDoc**
For additional acceptable extensions, review the
[`languages.yaml`](https://gitlab.com/gitlab-org/gitlab/-/blob/master/vendor/languages.yml#L3174) file.
- **AsciiDoc** files with the extension `.asciidoc`, `.adoc`, or `.asc`:
```plaintext
[plantuml, format="png", id="myDiagram", width="200px"]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment