gadenbuie / cleanrmd Goto Github PK
View Code? Open in Web Editor NEW📄✨Clean Class-Less R Markdown HTML Documents
Home Page: https://pkg.garrickadenbuie.com/cleanrmd
License: Other
📄✨Clean Class-Less R Markdown HTML Documents
Home Page: https://pkg.garrickadenbuie.com/cleanrmd
License: Other
See rstudio/pagedown@399fe1d for implementation ideas
when using the theme picker
Get ready for CRAN
@return
@examples
Prepare for release
git pull
urlchecker::url_check()
devtools::check(remote = TRUE, manual = TRUE)
devtools::check_win_devel()
rhub::check_for_cran()
revdepcheck::revdep_check(num_workers = 4)
cran-comments.md
git push
Submit to CRAN:
usethis::use_version('minor')
devtools::submit_cran()
Wait for CRAN...
git push
usethis::use_github_release()
usethis::use_dev_version()
usethis::use_news_md()
git push
Use internal CSS files for the theme picker
cleanrmd/inst/template/cleanrmd.html
Line 107 in 4f76edb
should be
$if(toc)$$if(toc-title)$<h2 class="toc-ignore">$toc-title$</h2>$endif$$toc$$endif$
So that the themes can be used in other contexts.
Also verify that they work in Quarto with theme: none
(or other appropriate theme option).
should use that by default
Frameworks I've discovered that might be worth including in this package. Feel free to add suggestions as comments here!
Prepare for release:
git pull
urlchecker::url_check()
devtools::build_readme()
devtools::check(remote = TRUE, manual = TRUE)
devtools::check_win_devel()
revdepcheck::revdep_check(num_workers = 4)
cran-comments.md
git push
Submit to CRAN:
usethis::use_version('patch')
devtools::submit_cran()
Wait for CRAN...
usethis::use_github_release()
usethis::use_dev_version(push = TRUE)
Currently, if self_contained = TRUE
and a theme
is specified, all CSS files are still being copied (declared as dependency).
I went with cleanrmd
because all themes style bare html with a secondary goal of small, low-dependency Rmd outputs. Other ideas include
classy
classyrmd
classless
Open to suggestions....
The default branch of this repository is being moved from master
to `main. This issue will be closed when the default branch has been changed.
For help and guidance with updating the default branch of your local or forked copy of this repo, please see Renaming the default branch.
Hi,
Thank you for this package. cleanrmd forces my markdown file to appear on the left of the screen, instead of the centre. The issue is not present when I use
cleanrmd::html_document_clean:
theme: NULL
But it is present whenever I specify a theme, e.g.:
output:
cleanrmd::html_document_clean:
theme: water-dark
maybe also add or replace with option for higlightjs
very meta
Vincent Doerig's github repo that contains the template for the latex.css
theme has a new font integrated (Libertinus, see here).
This font however is not downloaded autmatically when installing the cleanrmd
package which causes knitting to fail.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.