Add math stdlib with formulas/plots and polish the docs view.

Ship Num/Formula runtime, bilingual math libs, SVG plots with axes/grid, and view UX for collapsible folders plus centered plots.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
cflmyandCursor committed 2026-08-05 11:30:47 +08:00
1 parent a53ebb65ee
commit dcd0cdb8f7
40 files changed
+3553 -276

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
---
title: math plot svg
> lib/math.mq.md
---
# main
`f` =
$$
x^2
$$
*`svg` = > plot formula=`f` var=x min=-2 max=2 *
*`ok` = > type `svg` *
> print text=`ok`