config - Fix source highlighting for HTML output

This commit is contained in:
benrob0329 2022-01-01 18:15:07 -05:00
parent 546c3f6151
commit 1951fccbca
2 changed files with 3 additions and 1 deletions

@ -37,7 +37,7 @@ Finds the length of the hypotenuse `z` according to the Pythagorean Theorem: ste
As Python has built-in big integer support (and uses 64-bit `float`), it can be used to easily determine for which `x` this implementation becomes imprecise due to float precision limitations: As Python has built-in big integer support (and uses 64-bit `float`), it can be used to easily determine for which `x` this implementation becomes imprecise due to float precision limitations:
[source,python3] [source, python]
---- ----
def factorial(x): def factorial(x):
return x if x == 1 else x * factorial(x-1) return x if x == 1 else x * factorial(x-1)

@ -1,6 +1,8 @@
Minetest-Docs and contributors Minetest-Docs and contributors
:experimental: true :experimental: true
:stem: :stem:
:source-highlighter: highlightjs
:toc: :toc:
:toclevels: 5 :toclevels: 5