Skip to content

Commit 41a8254

Browse files
committed
doc: add twig syntax highlighter
1 parent 1b15258 commit 41a8254

File tree

5 files changed

+187
-22
lines changed

5 files changed

+187
-22
lines changed

docs/asciidoc/modules/openapi-ascii.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
1) create your template: `doc/library.adoc`
66

7-
[source, asciidoc]
7+
[source, twig]
88
----
99
= 📚 {{info.title}} Guide
1010
:source-highlighter: highlightjs
@@ -250,7 +250,7 @@ Only for Schemas.
250250
====== A. Documenting a Route (The "Standard" Block)
251251
Use this pattern to document a specific endpoint, separating path parameters from query parameters.
252252

253-
[source, asciidoc]
253+
[source, twig]
254254
----
255255
// 1. Define the route
256256
{% set route = GET("/library/books/{isbn}") %}

0 commit comments

Comments
 (0)