Difference between revisions of "Test page"

From Bitnami MediaWiki
Jump to navigation Jump to search
(Created page with "i'm wonder how this works * supports lists # supports numbering $e=mc^2$ supports latex")
 
 
(6 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
# supports numbering
 
# supports numbering
 
$e=mc^2$ supports latex
 
$e=mc^2$ supports latex
 +
<code>testing code tag</code>
 +
 +
<syntaxhighlight lang=python>
 +
def catch(func, *args, handle=lambda e: None, **kwargs)
 +
try:
 +
    return func(*args, **kwargs)
 +
  except Exception as e:
 +
    return handle(e)
 +
</syntaxhighlight>
 +
 +
test matrix equation
 +
<math>
 +
\begin{bmatrix}
 +
1 & 2 & 0 & 0\\
 +
2 & 1 & 0 & 0 \\
 +
0 & 2 & 1 & 0\\
 +
0 & 0 & 0 & 1\\
 +
\end{bmatrix}
 +
</math>
 +
 +
 +
<math> \int F\cdot \mathbf{r} dr </math>

Latest revision as of 22:18, 19 June 2021

i'm wonder how this works

  • supports lists
  1. supports numbering

$e=mc^2$ supports latex testing code tag

def catch(func, *args, handle=lambda e: None, **kwargs)
 try:
    return func(*args, **kwargs)
  except Exception as e:
    return handle(e)

test matrix equation [math]\displaystyle{ \begin{bmatrix} 1 & 2 & 0 & 0\\ 2 & 1 & 0 & 0 \\ 0 & 2 & 1 & 0\\ 0 & 0 & 0 & 1\\ \end{bmatrix} }[/math]


[math]\displaystyle{ \int F\cdot \mathbf{r} dr }[/math]