@@ -24,7 +24,7 @@ knitr::opts_chunk$set(
24
24
25
25
marquee is a markdown parser and renderer for the R graphics engine. It can be
26
26
used to render rich text formatted as markdown (CommonMark) inside R graphics
27
- such as ggplot2 or other graphics build on grid
27
+ such as ggplot2 or other graphics built on grid.
28
28
29
29
## Installation
30
30
@@ -37,6 +37,7 @@ pak::pak("r-lib/marquee")
37
37
```
38
38
39
39
## Examples
40
+
40
41
The main function of the package is ` marquee_grob() ` which creates a grob based
41
42
on markdown text and a style that can be rendered with grid:
42
43
@@ -60,13 +61,15 @@ grob <- marquee_grob(readme, style = fancy_style)
60
61
grid.draw(grob)
61
62
```
62
63
63
- (* The above is an image - go ahead and check* )
64
+ (* The above is an image – go ahead and check* )
64
65
65
66
## Prior art
67
+
66
68
I would be remiss to not mention [ gridtext] ( https://github.com/wilkelab/gridtext )
67
69
and [ ggtext] ( https://github.com/wilkelab/ggtext ) , both by Claus Wilke. These
68
- packages aims to solve much the same as marquee, but work in a different way and
69
- doesn 't have the same powerful textshaping backend as marquee. Most notably from
70
+ packages aim to solve much the same problem as marquee, but work in a different way
71
+ and don 't have the same powerful textshaping backend as marquee. Most notably from
70
72
a user perspective is perhaps that gridtext understands HTML to some degree,
71
- whereas marquee is oblivious to both HTML and CSS. Instead it supports the full
72
- CommonMark spec with the plan to add support for custom span elements as well.
73
+ whereas marquee is oblivious to both HTML and CSS. Instead, it supports the [ full
74
+ CommonMark spec] ( https://spec.commonmark.org/ ) with the plan to add support for
75
+ custom span elements as well.
0 commit comments