Skip to content

Commit b5d3826

Browse files
committed
Docs: Fix snippets example
Fixes #2573
1 parent c9ef97e commit b5d3826

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/src/markdown/extensions/snippets.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,10 +171,10 @@ are always omitted.
171171
If we wanted to include a function from a Python source, we could specify the snippet as follows:
172172

173173
```python
174-
# --8<-- [start:func]
174+
# ;--8<-- [start:func]
175175
def my_function(var):
176176
pass
177-
# --8<-- [end:func]
177+
# ;--8<-- [end:func]
178178
```
179179

180180
And then just include it in our document:

0 commit comments

Comments
 (0)