4 ms·
Would be good to copy from MkDocs Material https://squidfunk.github.io/mkdocs-material/reference/code-blocks/ https://squidfunk.github.io/mkdocs-material/refer
by mukundesh 5y ago
Would be good to copy from MkDocs Material
https://squidfunk.github.io/mkdocs-material/reference/code-blocks/ https://squidfunk.github.io/mkdocs-material/reference/code-b...
```
py hl_lines="2 3"
def bubble_sort(items):
for i in range(len(items)):
for j in range(len(items) - 1 - i):
if items[j] > items[j + 1]:
items[j], items[j + 1] = items[j + 1], items[j]
```