mirror of
https://github.com/minetest/minetest_docs.git
synced 2024-07-07 08:35:16 +02:00
config - Fix source highlighting for HTML output
This commit is contained in:
parent
546c3f6151
commit
1951fccbca
@ -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:
|
||||
|
||||
[source,python3]
|
||||
[source, python]
|
||||
----
|
||||
def factorial(x):
|
||||
return x if x == 1 else x * factorial(x-1)
|
||||
|
@ -1,6 +1,8 @@
|
||||
Minetest-Docs and contributors
|
||||
:experimental: true
|
||||
:stem:
|
||||
:source-highlighter: highlightjs
|
||||
|
||||
:toc:
|
||||
:toclevels: 5
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user