Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mcanouil committed May 4, 2024
2 parents f226587 + 9522016 commit a82aa3f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions example.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -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"}
```
Expand All @@ -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"}
```
Expand All @@ -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"}
```
Expand All @@ -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"}
```
Expand Down

0 comments on commit a82aa3f

Please sign in to comment.