litedown
litedown copied to clipboard
Mention fig.alt in the docs
I'm happy to see that fig.alt is supported by litedown, but there is no mention of it in the docs. Since this was not always possible with rmarkdown I think it is worth including in an example or mentioning explicitly somewhere.
Yes, the documentation needs a lot more work (which may take two months). Not only fig.alt, but most chunk options are not documented yet.
Related - now there is the litedown.fig.alt option, it would be useful to add some documentation on it to fuse().
@yihui - I'd be happy to submit a documentation patch for fuse() if useful (perhaps adding a 'global options' section to the help file).
I've finally finished documenting all chunk options (my brain hurts now). Unfortunately GIthub Action on macOS is currently broken so the website can't be automatically deployed. I'm not sure when it will resume. You can clone the repo and preview the docs by yourself:
install.packages(c('litedown', 'xfun'), repos = 'https://yihui.r-universe.dev')
# then run litedown::roam() in this package's root directory
If you want an immediate fix - there is a workaround to fix the macOS action https://github.com/r-lib/actions/issues/948#issuecomment-2495861299
@remlapmot Thank you! It seems they have applied the workaround in the setup-r action: https://github.com/r-lib/actions/pull/953 I just re-ran the action and it worked.
@hturner @TimTaylor fig.alt is documented at https://yihui.org/litedown/#sec:option-fig