etiennebacher / altdoc

Alternative to pkgdown to document R packages
https://altdoc.etiennebacher.com
Other
67 stars 9 forks source link

[WIP] HTML support #154

Closed vincentarelbundock closed 11 months ago

vincentarelbundock commented 11 months ago

I'm starting to experiment with modelsummary tables in md documentation generators. This is WIP.

add prefer-html: true to quarto preamble when there is no preamble

etiennebacher commented 11 months ago

Maybe I'm missing something but isn't the source of the problem that modelsummary tries to output an HTML table instead of a markdown table when we render to markdown? Rendering the man page coef_rename.qmd to .md succeeds if I specify output = "markdown" in modelsummary()

vincentarelbundock commented 11 months ago

Yes, but I want to embed the HTML tables in our markdown documents, otherwise we lose all the fancy stuff like alignment, colors, and embedded images.

Yes, I can output markdown tables, but I'm greedy and want full functionality like in Quarto documents.