From 95220162d30355e41e7b6c54170ac403b9e11d9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20Canouil?= <8896044+mcanouil@users.noreply.github.com> Date: Sat, 4 May 2024 14:08:47 +0200 Subject: [PATCH] chore: update readme and example (#5) --- README.md | 4 ++-- example.qmd | 8 ++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5ce5db6..82fa31e 100644 --- a/README.md +++ b/README.md @@ -23,8 +23,8 @@ filters: Then you can use the span syntax markup to highlight text in your document, *e.g.*: ```markdown -[Red]{colour="#b22222"} # UK -[Blue]{color="#0000FF"} # US +[Red]{colour="#b22222" bg-colour="#abc123"} # UK +[Blue]{color="#0000FF" bg-color="#ABC123"} # US ``` ## Example diff --git a/example.qmd b/example.qmd index 1c9c774..fe7987c 100644 --- a/example.qmd +++ b/example.qmd @@ -48,6 +48,8 @@ Then you can use the span syntax markup to highlight text in your document. ::: {.content-hidden when-format="pptx"} :::: {layout-ncol="2"} ::::: {#UK} +### United Kingdom Spellings + ```markdown [Red text]{colour="#b22222"} ``` @@ -70,6 +72,8 @@ Then you can use the span syntax markup to highlight text in your document. ::::: ::::: {#US} +### United States Spellings + ```markdown [Blue text]{color="#0000FF"} ``` @@ -96,6 +100,8 @@ Then you can use the span syntax markup to highlight text in your document. ::: {.content-visible when-format="pptx"} :::: {.columns} ::::: {.column width="50%"} +### United Kingdom Spellings + ```markdown [Red text]{colour="#b22222"} ``` @@ -118,6 +124,8 @@ Then you can use the span syntax markup to highlight text in your document. ::::: ::::: {.column width="50%"} +### United States Spellings + ```markdown [Blue text]{color="#0000FF"} ```