doc: Add example of math

This commit is contained in:
Leni Aniva 2025-03-06 14:40:33 -08:00
parent 0d5e1842dd
commit 0f1fbc4ecd
Signed by: aniva
GPG Key ID: 4D9B1C8D10EA4C50
1 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,6 @@
#import "@preview/cetz:0.3.2"
#set text(24pt)
#metadata((
title: "Title",
date: "2025-01-01",
@ -78,6 +79,10 @@ This is a diagram.
caption: [Comparison of blog typesetting options]
)
#html.frame[
$ lim_(n -> infinity) (1 + 1/n)^n = sum_(n=0)^infinity 1/(n!)
$]
== Code
#html.frame[```rust