inline bullet in rmarkdown

Viewed 45

I am trying to make an inline bullet.

* my first bullet, * my second bullet,...

The expected Answer is an inline version of this.

2 Answers

One easy way is to put the <ul> and <li> HTML tags to create a bullet list in one line:

<ul><li>One, <li>Two, <li>Tree<ul>

Live example:

  • One,
  • Two,
  • Tree

Or in multiple lines:
* One <br> - Two <br> - Tree

Live examples:

  • One
    - Two
    - Tree

You could also try text_spec() e.g.

`r kableExtra::text_spec("• my first bullet,  • my second bullet")` 
Related