I am relatively new to writing sphinx extensions and would like to create one that takes in a number of keywords that are provided alongside the directive name inside the rst document and replaces it with a block of html.
The predefined list-table directive in docutils allows to do it as following:
.. list-table::
* - item1
- item2
- item3
So far, I have only taken a look at the provided helloworld example, which replaces the directive keyword with the string "Hello World".
My idea is to instead return a .. raw::
html tag alongside the html i would like to insert. Is there a good solution to this?