Skip to content

Commit

Permalink
Update docs-as-code.adoc
Browse files Browse the repository at this point in the history
  • Loading branch information
DanRoscigno authored Aug 16, 2024
1 parent daab100 commit 8d6e79f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/documentation/modules/ROOT/pages/docs-as-code.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ https://github.com/DanRoscigno/docs/blob/6d6fcf905162adf80bd094cb9dd133a5c557bdd
----

NOTE: This is `docusaurus-theme-github-codeblock` syntax, not Asciidoc. With Asciidoc I would include content by
https://docs.asciidoctor.org/asciidoc/latest/directives/include-tagged-regions/[tagged regions^,target="_blank"].
https://docs.asciidoctor.org/asciidoc/latest/directives/include-tagged-regions/[tagged regions^,target="_blank"]. Similarly, with Restructured Text I would us remote code blocks with https://github.com/lsst-sqre/documenteer/blob/main/src/documenteer/ext/remotecodeblock.py#L43[`start-after` and `end-before`].

In Docusaurus this renders as:

Expand Down

0 comments on commit 8d6e79f

Please sign in to comment.