Skip to content

Commit 6eb2264

Browse files
committed
Disable ggtext::element_markdown() example
1 parent 764a2ce commit 6eb2264

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

vignettes/articles/faq-axes.Rmd

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,8 @@ ggplot(mpg, aes(x = cty^2, y = log(hwy, base = 10))) +
444444
)
445445
```
446446

447+
<!-- Temporarily disabled while migrating to S7
448+
447449
- If you're already familiar with Markdown and HTML, you might prefer using the [ggtext](https://wilkelab.org/ggtext/) package instead. In Markdown we can write the axis labels as `cty<sup>2</sup>` and `log<sub>10</sub>(hwy)` for x and y axes, respectively. Then, we tell ggplot2 to interpret the axis labels as Markdown and not as plain text by setting `axis.title.x` and `axis.title.y` to `ggtext::element_markdown()`.
448450
449451
```{r}
@@ -463,6 +465,7 @@ ggplot(mpg, aes(x = cty^2, y = log(hwy, base = 10))) +
463465
axis.title.y = ggtext::element_markdown()
464466
)
465467
```
468+
-->
466469

467470
</details>
468471

0 commit comments

Comments
 (0)