From 1cdde99567da4ae9bfc3735657b652d9908f16d0 Mon Sep 17 00:00:00 2001 From: "james.balamuta@gmail.com" Date: Sat, 9 Nov 2024 02:53:43 -0800 Subject: [PATCH] Use the conditional API to render mermaid only when in HTML mode --- index.qmd | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/index.qmd b/index.qmd index 5632d97..c290d54 100644 --- a/index.qmd +++ b/index.qmd @@ -18,6 +18,8 @@ format: This is a document themed using [**brand.yml**](https://posit-dev.github.io/brand-yml/) +::: {.content-visible when-format="html:js"} + ## Mermaid Diagram The following is a Mermaid diagram with branding applied: @@ -31,6 +33,8 @@ graph TD; C-->D; ``` +::: + ## Subheading {{< lipsum 1 >}} \ No newline at end of file