diff --git a/apps/web/lib/content.ts b/apps/web/lib/content.ts index 859b62c0..3ed5da61 100644 --- a/apps/web/lib/content.ts +++ b/apps/web/lib/content.ts @@ -149,6 +149,111 @@ export const defaultEditorContent = { }, ], }, + { + type: "listItem", + content: [ + { + type: "paragraph", + content: [ + { + type: "text", + text: "Mathematical symbols with LaTeX expression:", + }, + ], + }, + { + type: "orderedList", + attrs: { + tight: true, + start: 1, + }, + content: [ + { + type: "listItem", + content: [ + { + type: "paragraph", + content: [ + { + type: "math", + attrs: { + latex: "E = mc^2", + }, + }, + ], + }, + ], + }, + { + type: "listItem", + content: [ + { + type: "paragraph", + content: [ + { + type: "math", + attrs: { + latex: "a^2 = \\sqrt{b^2 + c^2}", + }, + }, + ], + }, + ], + }, + { + type: "listItem", + content: [ + { + type: "paragraph", + content: [ + { + type: "math", + attrs: { + latex: + "\\hat{f} (\\xi)=\\int_{-\\infty}^{\\infty}f(x)e^{-2\\pi ix\\xi}dx", + }, + }, + ], + }, + ], + }, + { + type: "listItem", + content: [ + { + type: "paragraph", + content: [ + { + type: "math", + attrs: { + latex: + "A=\\begin{bmatrix}a&b\\\\c&d \\end{bmatrix}", + }, + }, + ], + }, + ], + }, + { + type: "listItem", + content: [ + { + type: "paragraph", + content: [ + { + type: "math", + attrs: { + latex: "\\sum_{i=0}^n x_i", + }, + }, + ], + }, + ], + }, + ], + }, + ], + }, ], }, {