Skip to content

Commit ee1cf91

Browse files
committed
Update docs
1 parent a8a075a commit ee1cf91

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

docs/syntax/diagrams.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -143,16 +143,6 @@ digraph G {
143143

144144
::::::
145145

146-
## How it works
147-
148-
The diagram directive:
149-
150-
1. **Parses** the diagram type from the directive argument
151-
2. **Extracts** the diagram content from the directive body
152-
3. **Encodes** the content using zlib compression and Base64URL encoding
153-
4. **Generates** a Kroki URL in the format: `https://kroki.io/{type}/svg/{encoded-content}`
154-
5. **Renders** an HTML `<img>` tag that loads the diagram from Kroki
155-
156146
## Error handling
157147

158148
If the diagram content is empty or the encoding fails, an error message will be displayed instead of the diagram.

0 commit comments

Comments
 (0)