Add /typst web form
This commit is contained in:
parent
0345a80349
commit
ede8621867
3 changed files with 23 additions and 1 deletions
21
showbits-thermal-printer/static/typst.html
Normal file
21
showbits-thermal-printer/static/typst.html
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>TP: Typst</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Print typst code</h1>
|
||||
<form method="post">
|
||||
<textarea name="source" rows="24" cols="100">
|
||||
Hi from Typst!
|
||||
$
|
||||
sum_(i=1)^n i = integral_(i=0)^n i + n/2
|
||||
$</textarea
|
||||
>
|
||||
<br />
|
||||
<button>Print!</button>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue