Include code snippets
Code Snippets¶
Include excerpts from other files using the Snippet extension detailed here: PyMdown Extensions - Snippets.
Excerpt Wrapping Syntax¶
Enclose the excerpt with the following tags:
<!-- Start snippet -->
;--8<-- [start:TAG]
...
;--8<-- [end:TAG]
<!-- End snippet -->
Snippet Inclusion Syntax¶
To incorporate the excerpt elsewhere, specify its path and tag:
;--8<-- "path/to/file.ext:TAG"
Following these practices ensures consistency, navigability, and professionalism in the Anoma documentation.