Skip to contents

fmt_marquee_txt() uses marquee::marquee_parse() and openxlsx2::fmt_txt() to format Markdown text.

Usage

fmt_marquee_txt(
  text,
  ...,
  style = marquee::classic_style(),
  ignore_html = TRUE
)

Arguments

text

A character string. The core quality of markdown is that any text is valid markdown so there is no restrictions on the content

...

Ignored at this time. For future use.

style

A style set such as classic_style() that defines how the text should be rendered

ignore_html

Should HTML code be removed from the output

Examples


fmt_marquee_txt(
  "# ABC

  abc"
)
#> [[1]]
#> fmt_txt string: 
#> [1] ""
#> 
#> [[2]]
#> fmt_txt string: 
#> [1] "ABC"
#> 
#> [[3]]
#> fmt_txt string: 
#> [1] "abc"
#>