Skip to content

Commit

Permalink
Docs: Fix snippets example
Browse files Browse the repository at this point in the history
Fixes #2573
  • Loading branch information
facelessuser committed Jan 17, 2025
1 parent c9ef97e commit b5d3826
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/markdown/extensions/snippets.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,10 @@ are always omitted.
If we wanted to include a function from a Python source, we could specify the snippet as follows:

```python
# --8<-- [start:func]
# ;--8<-- [start:func]
def my_function(var):
pass
# --8<-- [end:func]
# ;--8<-- [end:func]
```

And then just include it in our document:
Expand Down

0 comments on commit b5d3826

Please sign in to comment.