From 61fb91b7b34fd9796aa19e0f381f826f661a4c1b Mon Sep 17 00:00:00 2001 From: daudix Date: Wed, 28 Aug 2024 18:48:05 +0300 Subject: [PATCH] Add LaTeX code block --- content/demo/index.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/content/demo/index.md b/content/demo/index.md index 6c61bc3..38fcb1d 100644 --- a/content/demo/index.md +++ b/content/demo/index.md @@ -90,9 +90,11 @@ pre table td:nth-of-type(1) { Duckquill can render LaTeX using the [KaTeX](https://katex.org) library. It can be enabled using the `extra.katex` config variable. -$$\relax f(x) = \int_{-\infty}^\infty - \hat{f}(\xi)\,e^{2 \pi i \xi x} - \,d\xi$$ +```latex +$$\relax f(x) = \int_{-\infty}^\infty\hat{f}(\xi)\,e^{2 \pi i \xi x}\,d\xi$$ +``` + +$$\relax f(x) = \int_{-\infty}^\infty\hat{f}(\xi)\,e^{2 \pi i \xi x}\,d\xi$$ ### Shortcodes