-
Notifications
You must be signed in to change notification settings - Fork 235
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Definition lists in markdown #576
Comments
You cannot, currently. Not supported by the commonmark implementation we use. There is a discussion here: https://talk.commonmark.org/t/description-list/289/1 At some point we'll look at adding commonmark extensions for various Rd features that are currently not supported. But for now you'll have to write this list in Rd. |
Would it make sense to use the same markdown that GitHub uses? Would give tables, and other features that would make a lot of sense to improving help docs |
@tbates I know that commonmark can now use the GitHub extensions. Can you please review the options available and open a new issue? |
Here is the GFM spec for commonmark: https://github.github.com/gfm/ It does not seem to support definition lists. It has:
None if these seem very important to me. |
I asked this on stack a week ago... Glad if tables are supported. Enabling
them would help build nice Rd files.
http://stackoverflow.com/questions/43017168/does-roxygen-6-support-tables
|
Yeah, tables would be moderately useful. |
OK. Fun challenge:
I admit, that I don't know of any. |
But maybe if we make it easier, then people will actually use it. |
I know I've made one. I just don't remember where. |
CRAN give this example #' \url{https://cran.r-project.org/doc/manuals/R-exts.html#Lists-and-tables} Which in markdown would be:
In R help, the table just has a little white space around cells, no border formatting. The R doesn't appear to support any of the latex tabular notation for adding borders ( \tabular{ l | c | r | r} )
|
A newer option is:
|
And roxygen2 now supports markdown tables. So happy days |
How does one creates definition lists in markdown? For instance, how to translate the following to Markdown:
Unfortunately, the Markdown vignette doesn't mention these types of list.
The text was updated successfully, but these errors were encountered: