├── R ├── shiny_module.R ├── stack.R ├── render_html.R ├── list_builder.R ├── zzz.R ├── base64.R ├── knit_print.R ├── relative_to.R ├── rmarkdown.R ├── tufte_handout.R ├── html_extras.R ├── includes.R └── html_fragment.R ├── tests ├── testthat │ ├── site │ │ ├── docs.txt │ │ ├── script.R │ │ ├── styles.css │ │ ├── .gitignore │ │ ├── site.Rproj │ │ ├── _site.yml │ │ └── PageC.md │ ├── resources │ │ ├── csvs │ │ │ ├── csv1.csv │ │ │ ├── csv2.csv │ │ │ └── other │ │ │ │ └── csv3.csv │ │ ├── empty.bib │ │ ├── empty │ │ │ └── empty.csv │ │ ├── empty.js │ │ ├── .gitignore │ │ ├── empty.Rmd │ │ ├── empty.css │ │ ├── empty.csv │ │ ├── empty.html │ │ ├── empty.md │ │ ├── empty.tsv │ │ ├── nonempty │ │ │ ├── empty.csv │ │ │ └── empty.jpg │ │ ├── readcsv.R │ │ ├── readcsv-source.R │ │ ├── styles.css │ │ ├── dep1.html │ │ ├── dep2.html │ │ ├── readcsv.Rmd │ │ ├── empty.jpg │ │ ├── empty.png │ │ ├── tinyplot.png │ │ ├── has-css.Rmd │ │ ├── has-image.css │ │ ├── pdf.Rmd │ │ ├── period.Rmd │ │ ├── file-exists.Rmd │ │ ├── UTF8.bib │ │ ├── resource-files.Rmd │ │ ├── directory-refs.Rmd │ │ ├── empty.csl │ │ ├── multi-includes.Rmd │ │ ├── html.html │ │ ├── markdown.md │ │ ├── quotes.Rmd │ │ ├── rmarkdown.Rmd │ │ └── r-notebook.Rmd │ ├── _snaps │ │ ├── render │ │ │ ├── A.split.md │ │ │ └── B.split.md │ │ ├── md_document │ │ │ ├── yaml-block-markdown.md │ │ │ ├── yaml-block-markdown_mmd.md │ │ │ ├── yaml-block-markdown_github.md │ │ │ ├── yaml-block-markdown_phpextra.md │ │ │ ├── yaml-block-markdown_strict.md │ │ │ ├── yaml-block-markdown-meta.md │ │ │ ├── yaml-block-markdown_github-meta.md │ │ │ ├── yaml-block-markdown_mmd-meta.md │ │ │ ├── yaml-block-markdown_strict-meta.md │ │ │ └── yaml-block-markdown_phpextra-meta.md │ │ ├── github_document │ │ │ ├── github-atx.md │ │ │ ├── github-toc.md │ │ │ └── github-toc-numbered.md │ │ ├── before-pandoc-2.18 │ │ │ └── github_document │ │ │ │ ├── github-toc.md │ │ │ │ └── github-toc-numbered.md │ │ ├── after-pandoc-2.18 │ │ │ ├── github_document │ │ │ │ ├── github-toc.md │ │ │ │ └── github-toc-numbered.md │ │ │ └── lua-filters.md │ │ ├── lua-filters.md │ │ ├── pandoc-2.18 │ │ │ ├── github_document │ │ │ │ ├── github-toc.md │ │ │ │ └── github-toc-numbered.md │ │ │ └── lua-filters.md │ │ ├── html_dependencies.md │ │ ├── after-pandoc-2.11.2 │ │ │ └── lua-filters.md │ │ └── before-pandoc-2.11.2 │ │ │ └── lua-filters.md │ ├── test-knit_print.R │ ├── test-ioslides_presentation.R │ ├── test-encode-decode.R │ ├── test-utils.R │ ├── test-powerpoint_presentation.R │ ├── test-formats.Rmd │ ├── test-yml-parsing.R │ ├── helpers.R │ ├── test-shiny.R │ ├── test-render.R │ ├── test-spin.R │ ├── test-html_document.R │ ├── test-vignette.R │ └── test-draft.R ├── manual │ └── bslib-forced-mode │ │ ├── .gitignore │ │ ├── render.R │ │ └── test.Rmd ├── testthat.R ├── rmd │ ├── word.Rmd │ ├── output_dir.Rmd │ ├── raw-header.Rmd │ ├── two-authors.Rmd │ ├── yaml-r-code.Rmd │ ├── anchor-sections.Rmd │ └── two-bibs.Rmd ├── shiny │ ├── 04-prerendered-envir.Rmd │ ├── 01-basic-input.Rmd │ ├── 03-rm-all.Rmd │ └── 02-data-table.Rmd └── testrmd.R ├── .github ├── .gitignore ├── ISSUE_TEMPLATE │ ├── config.yml │ ├── feature-request.md │ └── bug-report.md ├── workflows │ ├── lock.yml │ ├── pkgdown.yaml │ ├── update-citation-cff.yaml │ └── check-pandoc-daily.yaml └── CONTRIBUTING.md ├── .gitattributes ├── inst ├── rmd │ ├── fragment │ │ ├── default.tex │ │ └── default.html │ ├── h │ │ ├── shiny-header.html │ │ ├── rmarkdown │ │ │ ├── rmd_loader.gif │ │ │ ├── rmd_loader.css │ │ │ ├── rmd_perf.css │ │ │ ├── rmd_loader.js │ │ │ └── rmd_perf.js │ │ ├── ionicons │ │ │ ├── fonts │ │ │ │ └── ionicons.ttf │ │ │ └── LICENSE │ │ ├── bootstrap │ │ │ ├── css │ │ │ │ └── fonts │ │ │ │ │ ├── Lato.ttf │ │ │ │ │ ├── Roboto.ttf │ │ │ │ │ ├── Ubuntu.ttf │ │ │ │ │ ├── LatoBold.ttf │ │ │ │ │ ├── OpenSans.ttf │ │ │ │ │ ├── Raleway.ttf │ │ │ │ │ ├── LatoItalic.ttf │ │ │ │ │ ├── NewsCycle.ttf │ │ │ │ │ ├── RalewayBold.ttf │ │ │ │ │ ├── RobotoBold.ttf │ │ │ │ │ ├── RobotoLight.ttf │ │ │ │ │ ├── NewsCycleBold.ttf │ │ │ │ │ ├── OpenSansBold.ttf │ │ │ │ │ ├── OpenSansLight.ttf │ │ │ │ │ ├── RobotoMedium.ttf │ │ │ │ │ ├── SourceSansPro.ttf │ │ │ │ │ ├── OpenSansItalic.ttf │ │ │ │ │ ├── OpenSansBoldItalic.ttf │ │ │ │ │ ├── SourceSansProBold.ttf │ │ │ │ │ ├── SourceSansProLight.ttf │ │ │ │ │ ├── OpenSansLightItalic.ttf │ │ │ │ │ └── SourceSansProItalic.ttf │ │ │ ├── fonts │ │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ │ └── glyphicons-halflings-regular.woff2 │ │ │ └── js │ │ │ │ └── npm.js │ │ ├── anchor-sections │ │ │ ├── anchor-sections-hash.css │ │ │ ├── anchor-sections.css │ │ │ ├── anchor-sections-symbol.css │ │ │ ├── anchor-sections.js │ │ │ └── anchor-sections-icon.css │ │ ├── fontawesome │ │ │ └── webfonts │ │ │ │ ├── fa-solid-900.eot │ │ │ │ ├── fa-solid-900.ttf │ │ │ │ ├── fa-brands-400.eot │ │ │ │ ├── fa-brands-400.ttf │ │ │ │ ├── fa-brands-400.woff │ │ │ │ ├── fa-brands-400.woff2 │ │ │ │ ├── fa-regular-400.eot │ │ │ │ ├── fa-regular-400.ttf │ │ │ │ ├── fa-regular-400.woff │ │ │ │ ├── fa-solid-900.woff │ │ │ │ ├── fa-solid-900.woff2 │ │ │ │ └── fa-regular-400.woff2 │ │ ├── jqueryui │ │ │ ├── images │ │ │ │ ├── ui-icons_444444_256x240.png │ │ │ │ ├── ui-icons_555555_256x240.png │ │ │ │ ├── ui-icons_777620_256x240.png │ │ │ │ ├── ui-icons_777777_256x240.png │ │ │ │ ├── ui-icons_cc0000_256x240.png │ │ │ │ └── ui-icons_ffffff_256x240.png │ │ │ └── README │ │ ├── navigation-1.1 │ │ │ ├── codefolding-lua.css │ │ │ └── sourceembed.js │ │ ├── highlightjs │ │ │ ├── default.css │ │ │ └── textmate.css │ │ ├── pandoc │ │ │ └── header-attrs.js │ │ ├── tabset │ │ │ ├── tabset.css │ │ │ ├── LICENSE │ │ │ └── tabset.js │ │ ├── accessibility │ │ │ └── empty-anchor.js │ │ ├── _navbar.html │ │ └── tocify │ │ │ └── jquery.tocify.css │ ├── slidy │ │ ├── Slidy2 │ │ │ ├── graphics │ │ │ │ ├── CVS │ │ │ │ │ ├── Root │ │ │ │ │ ├── Repository │ │ │ │ │ └── Entries │ │ │ │ ├── bullet.gif │ │ │ │ ├── bullet.png │ │ │ │ ├── face1.gif │ │ │ │ ├── face2.gif │ │ │ │ ├── face3.gif │ │ │ │ ├── face4.gif │ │ │ │ ├── fold.bmp │ │ │ │ ├── fold.gif │ │ │ │ ├── keys2.jpg │ │ │ │ ├── nofold.bmp │ │ │ │ ├── unfold.bmp │ │ │ │ ├── unfold.gif │ │ │ │ ├── example.png │ │ │ │ ├── fold-dim.bmp │ │ │ │ ├── fold-dim.gif │ │ │ │ ├── bullet-fold.gif │ │ │ │ ├── bullet-fold.png │ │ │ │ ├── fold-bright.gif │ │ │ │ ├── icon-blue.png │ │ │ │ ├── nofold-dim.bmp │ │ │ │ ├── nofold-dim.gif │ │ │ │ ├── unfold-dim.bmp │ │ │ │ ├── unfold-dim.gif │ │ │ │ ├── bullet-nofold.gif │ │ │ │ ├── bullet-nofold.png │ │ │ │ ├── bullet-unfold.gif │ │ │ │ ├── bullet-unfold.png │ │ │ │ ├── unfold-bright.gif │ │ │ │ ├── w3c-logo-blue.gif │ │ │ │ ├── bullet-fold-dim.gif │ │ │ │ ├── bullet-fold-dim.png │ │ │ │ ├── w3c-logo-slanted.jpg │ │ │ │ ├── w3c-logo-white.gif │ │ │ │ ├── bullet-nofold-dim.gif │ │ │ │ ├── bullet-nofold-dim.png │ │ │ │ ├── bullet-unfold-dim.gif │ │ │ │ ├── bullet-unfold-dim.png │ │ │ │ ├── w3c-logo-blue.svg │ │ │ │ └── w3c-logo-white.svg │ │ │ ├── scripts │ │ │ │ ├── slidy.js.gz │ │ │ │ ├── .htaccess │ │ │ │ └── slidy-irc.js │ │ │ ├── .htaccess │ │ │ └── styles │ │ │ │ └── .htaccess │ │ └── slidy_shiny.js │ ├── site │ │ ├── about.Rmd │ │ ├── _site.yml │ │ └── index.Rmd │ ├── ioslides │ │ └── ioslides-13.5.1 │ │ │ ├── fonts │ │ │ ├── OpenSans.ttf │ │ │ ├── OpenSansItalic.ttf │ │ │ ├── SourceCodePro.ttf │ │ │ ├── OpenSansSemibold.ttf │ │ │ ├── OpenSansSemiboldItalic.ttf │ │ │ └── fonts.css │ │ │ ├── js │ │ │ ├── prettify │ │ │ │ ├── lang-tex.js │ │ │ │ ├── lang-yaml.js │ │ │ │ └── prettify.css │ │ │ ├── polyfills │ │ │ │ ├── dataset.min.js │ │ │ │ └── classList.min.js │ │ │ └── order.js │ │ │ ├── images │ │ │ └── google_developers_icon_128.png │ │ │ └── theme │ │ │ └── css │ │ │ └── phone.css │ └── latex │ │ └── subtitle.tex ├── rmarkdown │ ├── templates │ │ ├── html_vignette │ │ │ ├── skeleton │ │ │ │ ├── .gitignore │ │ │ │ └── skeleton.Rmd │ │ │ └── template.yaml │ │ └── github_document │ │ │ ├── template.yaml │ │ │ ├── resources │ │ │ ├── default.md │ │ │ └── preview.html │ │ │ └── skeleton │ │ │ └── skeleton.Rmd │ └── lua │ │ ├── latex-div.lua │ │ └── anchor-sections.lua ├── rstudio │ └── templates │ │ └── project │ │ └── skeleton.dcf └── CITATION ├── vignettes ├── .gitignore └── articles │ └── examples.Rmd ├── man ├── figures │ ├── logo.png │ └── link-black-18dp.svg ├── shiny_prerendered_clean.Rd ├── yaml_front_matter.Rd ├── latex_dependency.Rd ├── html_notebook_metadata.Rd ├── pandoc_exec.Rd ├── shiny_prerendered_server_start_code.Rd ├── navbar_html.Rd ├── pandoc_citeproc_convert.Rd ├── relative_to.Rd ├── pandoc_self_contained_html.Rd ├── output_metadata.Rd ├── shiny_prerendered_chunk.Rd ├── latex-dependencies.Rd ├── metadata.Rd ├── parse_html_notebook.Rd ├── pandoc_template.Rd ├── pandoc_path_arg.Rd ├── render_supporting_files.Rd ├── site_resources.Rd ├── available_templates.Rd ├── knitr_options_pdf.Rd ├── all_output_formats.Rd ├── knit_params_ask.Rd ├── knitr_options.Rd ├── pkg_file_lua.Rd ├── knitr_options_html.Rd ├── includes.Rd ├── rmarkdown-package.Rd ├── rmd_metadata.Rd ├── rmarkdown_format.Rd ├── default_output_format.Rd ├── paged_table.Rd ├── resolve_output_format.Rd ├── render_delayed.Rd ├── publish_site.Rd ├── pandoc_available.Rd ├── find_pandoc.Rd ├── html_notebook_output.Rd ├── html-dependencies.Rd ├── pandoc_convert.Rd ├── rtf_document.Rd ├── convert_ipynb.Rd └── pandoc_options.Rd ├── pkgdown └── favicon │ ├── favicon.ico │ ├── favicon-16x16.png │ ├── favicon-32x32.png │ ├── apple-touch-icon.png │ ├── apple-touch-icon-60x60.png │ ├── apple-touch-icon-76x76.png │ ├── apple-touch-icon-120x120.png │ ├── apple-touch-icon-152x152.png │ └── apple-touch-icon-180x180.png ├── .gitignore ├── tools ├── install-pandoc.sh └── select-highlight.js ├── codecov.yml ├── .Rbuildignore └── rmarkdown.Rproj /R/shiny_module.R: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/testthat/site/docs.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/testthat/site/script.R: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.github/.gitignore: -------------------------------------------------------------------------------- 1 | *.html 2 | -------------------------------------------------------------------------------- /tests/testthat/resources/csvs/csv1.csv: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/testthat/resources/csvs/csv2.csv: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/testthat/resources/empty.bib: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | /inst/NEWS merge=union 2 | -------------------------------------------------------------------------------- /inst/rmd/fragment/default.tex: -------------------------------------------------------------------------------- 1 | $body$ 2 | -------------------------------------------------------------------------------- /tests/testthat/resources/empty/empty.csv: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vignettes/.gitignore: -------------------------------------------------------------------------------- 1 | *.html 2 | *.R 3 | -------------------------------------------------------------------------------- /tests/testthat/resources/csvs/other/csv3.csv: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/testthat/resources/empty.js: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /tests/testthat/resources/.gitignore: -------------------------------------------------------------------------------- 1 | template.html 2 | -------------------------------------------------------------------------------- /tests/testthat/resources/empty.Rmd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /tests/testthat/resources/empty.css: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /tests/testthat/resources/empty.csv: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /tests/testthat/resources/empty.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /tests/testthat/resources/empty.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /tests/testthat/resources/empty.tsv: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /inst/rmd/h/shiny-header.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tests/testthat/resources/nonempty/empty.csv: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /inst/rmd/slidy/Slidy2/graphics/CVS/Root: -------------------------------------------------------------------------------- 1 | cvs.w3.org:/w3ccvs 2 | -------------------------------------------------------------------------------- /tests/testthat/_snaps/render/A.split.md: -------------------------------------------------------------------------------- 1 | # H1 2 | content1 3 | -------------------------------------------------------------------------------- /tests/testthat/_snaps/render/B.split.md: -------------------------------------------------------------------------------- 1 | # H2 2 | content2 3 | -------------------------------------------------------------------------------- /tests/manual/bslib-forced-mode/.gitignore: -------------------------------------------------------------------------------- 1 | *_files/ 2 | *.html 3 | -------------------------------------------------------------------------------- /tests/testthat/_snaps/md_document/yaml-block-markdown.md: -------------------------------------------------------------------------------- 1 | content 2 | -------------------------------------------------------------------------------- /tests/testthat/resources/readcsv.R: -------------------------------------------------------------------------------- 1 | 2 | read.csv("empty.csv") 3 | -------------------------------------------------------------------------------- /tests/testthat/site/styles.css: -------------------------------------------------------------------------------- 1 | 2 | p { 3 | color: red; 4 | } 5 | -------------------------------------------------------------------------------- /inst/rmarkdown/templates/html_vignette/skeleton/.gitignore: -------------------------------------------------------------------------------- 1 | *.html 2 | -------------------------------------------------------------------------------- /tests/testthat/_snaps/md_document/yaml-block-markdown_mmd.md: -------------------------------------------------------------------------------- 1 | content 2 | -------------------------------------------------------------------------------- /tests/testthat/resources/readcsv-source.R: -------------------------------------------------------------------------------- 1 | 2 | source("readcsv.R") 3 | -------------------------------------------------------------------------------- /tests/testthat/resources/styles.css: -------------------------------------------------------------------------------- 1 | 2 | p { 3 | color: red; 4 | } 5 | -------------------------------------------------------------------------------- /tests/testthat/_snaps/md_document/yaml-block-markdown_github.md: -------------------------------------------------------------------------------- 1 | content 2 | -------------------------------------------------------------------------------- /tests/testthat/_snaps/md_document/yaml-block-markdown_phpextra.md: -------------------------------------------------------------------------------- 1 | content 2 | -------------------------------------------------------------------------------- /tests/testthat/_snaps/md_document/yaml-block-markdown_strict.md: -------------------------------------------------------------------------------- 1 | content 2 | -------------------------------------------------------------------------------- /tests/testthat/resources/dep1.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tests/testthat/resources/dep2.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /inst/rmd/slidy/Slidy2/graphics/CVS/Repository: -------------------------------------------------------------------------------- 1 | WWW/Talks/Tools/Slidy2/graphics 2 | -------------------------------------------------------------------------------- /man/figures/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/man/figures/logo.png -------------------------------------------------------------------------------- /tests/testthat/resources/readcsv.Rmd: -------------------------------------------------------------------------------- 1 | 2 | ```{r} 3 | source("readcsv-source.R") 4 | ``` 5 | 6 | -------------------------------------------------------------------------------- /tests/testthat/site/.gitignore: -------------------------------------------------------------------------------- 1 | *.html 2 | *_files 3 | *_cache 4 | rsconnect 5 | site_libs 6 | _site 7 | -------------------------------------------------------------------------------- /inst/rmd/site/about.Rmd: -------------------------------------------------------------------------------- 1 | --- 2 | title: "About This Website" 3 | --- 4 | 5 | More about this website. 6 | -------------------------------------------------------------------------------- /pkgdown/favicon/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/pkgdown/favicon/favicon.ico -------------------------------------------------------------------------------- /tests/testthat.R: -------------------------------------------------------------------------------- 1 | library(testthat) 2 | if (identical(Sys.getenv("NOT_CRAN"), "true")) test_check("rmarkdown") 3 | -------------------------------------------------------------------------------- /tests/testthat/_snaps/md_document/yaml-block-markdown-meta.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: test 3 | --- 4 | 5 | content 6 | -------------------------------------------------------------------------------- /pkgdown/favicon/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/pkgdown/favicon/favicon-16x16.png -------------------------------------------------------------------------------- /pkgdown/favicon/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/pkgdown/favicon/favicon-32x32.png -------------------------------------------------------------------------------- /tests/testthat/_snaps/md_document/yaml-block-markdown_github-meta.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: test 3 | --- 4 | 5 | content 6 | -------------------------------------------------------------------------------- /tests/testthat/_snaps/md_document/yaml-block-markdown_mmd-meta.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: test 3 | --- 4 | 5 | content 6 | -------------------------------------------------------------------------------- /tests/testthat/_snaps/md_document/yaml-block-markdown_strict-meta.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: test 3 | --- 4 | 5 | content 6 | -------------------------------------------------------------------------------- /inst/rmd/h/rmarkdown/rmd_loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/h/rmarkdown/rmd_loader.gif -------------------------------------------------------------------------------- /pkgdown/favicon/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/pkgdown/favicon/apple-touch-icon.png -------------------------------------------------------------------------------- /tests/testthat/_snaps/md_document/yaml-block-markdown_phpextra-meta.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: test 3 | --- 4 | 5 | content 6 | -------------------------------------------------------------------------------- /tests/testthat/resources/empty.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/tests/testthat/resources/empty.jpg -------------------------------------------------------------------------------- /tests/testthat/resources/empty.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/tests/testthat/resources/empty.png -------------------------------------------------------------------------------- /inst/rmd/h/ionicons/fonts/ionicons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/h/ionicons/fonts/ionicons.ttf -------------------------------------------------------------------------------- /tests/testthat/resources/tinyplot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/tests/testthat/resources/tinyplot.png -------------------------------------------------------------------------------- /inst/rmd/h/bootstrap/css/fonts/Lato.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/h/bootstrap/css/fonts/Lato.ttf -------------------------------------------------------------------------------- /inst/rmd/h/bootstrap/css/fonts/Roboto.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/h/bootstrap/css/fonts/Roboto.ttf -------------------------------------------------------------------------------- /inst/rmd/h/bootstrap/css/fonts/Ubuntu.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/h/bootstrap/css/fonts/Ubuntu.ttf -------------------------------------------------------------------------------- /inst/rmd/slidy/Slidy2/graphics/bullet.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/slidy/Slidy2/graphics/bullet.gif -------------------------------------------------------------------------------- /inst/rmd/slidy/Slidy2/graphics/bullet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/slidy/Slidy2/graphics/bullet.png -------------------------------------------------------------------------------- /inst/rmd/slidy/Slidy2/graphics/face1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/slidy/Slidy2/graphics/face1.gif -------------------------------------------------------------------------------- /inst/rmd/slidy/Slidy2/graphics/face2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/slidy/Slidy2/graphics/face2.gif -------------------------------------------------------------------------------- /inst/rmd/slidy/Slidy2/graphics/face3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/slidy/Slidy2/graphics/face3.gif -------------------------------------------------------------------------------- /inst/rmd/slidy/Slidy2/graphics/face4.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/slidy/Slidy2/graphics/face4.gif -------------------------------------------------------------------------------- /inst/rmd/slidy/Slidy2/graphics/fold.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/slidy/Slidy2/graphics/fold.bmp -------------------------------------------------------------------------------- /inst/rmd/slidy/Slidy2/graphics/fold.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/slidy/Slidy2/graphics/fold.gif -------------------------------------------------------------------------------- /inst/rmd/slidy/Slidy2/graphics/keys2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/slidy/Slidy2/graphics/keys2.jpg -------------------------------------------------------------------------------- /inst/rmd/slidy/Slidy2/graphics/nofold.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/slidy/Slidy2/graphics/nofold.bmp -------------------------------------------------------------------------------- /inst/rmd/slidy/Slidy2/graphics/unfold.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/slidy/Slidy2/graphics/unfold.bmp -------------------------------------------------------------------------------- /inst/rmd/slidy/Slidy2/graphics/unfold.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/slidy/Slidy2/graphics/unfold.gif -------------------------------------------------------------------------------- /inst/rmd/slidy/Slidy2/scripts/slidy.js.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/slidy/Slidy2/scripts/slidy.js.gz -------------------------------------------------------------------------------- /inst/rmd/h/bootstrap/css/fonts/LatoBold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/h/bootstrap/css/fonts/LatoBold.ttf -------------------------------------------------------------------------------- /inst/rmd/h/bootstrap/css/fonts/OpenSans.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/h/bootstrap/css/fonts/OpenSans.ttf -------------------------------------------------------------------------------- /inst/rmd/h/bootstrap/css/fonts/Raleway.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/h/bootstrap/css/fonts/Raleway.ttf -------------------------------------------------------------------------------- /inst/rmd/slidy/Slidy2/graphics/example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/slidy/Slidy2/graphics/example.png -------------------------------------------------------------------------------- /inst/rmd/slidy/Slidy2/graphics/fold-dim.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/slidy/Slidy2/graphics/fold-dim.bmp -------------------------------------------------------------------------------- /inst/rmd/slidy/Slidy2/graphics/fold-dim.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/slidy/Slidy2/graphics/fold-dim.gif -------------------------------------------------------------------------------- /pkgdown/favicon/apple-touch-icon-60x60.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/pkgdown/favicon/apple-touch-icon-60x60.png -------------------------------------------------------------------------------- /pkgdown/favicon/apple-touch-icon-76x76.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/pkgdown/favicon/apple-touch-icon-76x76.png -------------------------------------------------------------------------------- /tests/testthat/resources/has-css.Rmd: -------------------------------------------------------------------------------- 1 | --- 2 | output: 3 | html_document: 4 | css: has-image.css 5 | --- 6 | 7 | # Hello, world. 8 | -------------------------------------------------------------------------------- /tests/testthat/resources/nonempty/empty.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/tests/testthat/resources/nonempty/empty.jpg -------------------------------------------------------------------------------- /inst/rmd/h/bootstrap/css/fonts/LatoItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/h/bootstrap/css/fonts/LatoItalic.ttf -------------------------------------------------------------------------------- /inst/rmd/h/bootstrap/css/fonts/NewsCycle.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/h/bootstrap/css/fonts/NewsCycle.ttf -------------------------------------------------------------------------------- /inst/rmd/h/bootstrap/css/fonts/RalewayBold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/h/bootstrap/css/fonts/RalewayBold.ttf -------------------------------------------------------------------------------- /inst/rmd/h/bootstrap/css/fonts/RobotoBold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/h/bootstrap/css/fonts/RobotoBold.ttf -------------------------------------------------------------------------------- /inst/rmd/h/bootstrap/css/fonts/RobotoLight.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/h/bootstrap/css/fonts/RobotoLight.ttf -------------------------------------------------------------------------------- /inst/rmd/slidy/Slidy2/graphics/bullet-fold.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/slidy/Slidy2/graphics/bullet-fold.gif -------------------------------------------------------------------------------- /inst/rmd/slidy/Slidy2/graphics/bullet-fold.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/slidy/Slidy2/graphics/bullet-fold.png -------------------------------------------------------------------------------- /inst/rmd/slidy/Slidy2/graphics/fold-bright.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/slidy/Slidy2/graphics/fold-bright.gif -------------------------------------------------------------------------------- /inst/rmd/slidy/Slidy2/graphics/icon-blue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/slidy/Slidy2/graphics/icon-blue.png -------------------------------------------------------------------------------- /inst/rmd/slidy/Slidy2/graphics/nofold-dim.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/slidy/Slidy2/graphics/nofold-dim.bmp -------------------------------------------------------------------------------- /inst/rmd/slidy/Slidy2/graphics/nofold-dim.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/slidy/Slidy2/graphics/nofold-dim.gif -------------------------------------------------------------------------------- /inst/rmd/slidy/Slidy2/graphics/unfold-dim.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/slidy/Slidy2/graphics/unfold-dim.bmp -------------------------------------------------------------------------------- /inst/rmd/slidy/Slidy2/graphics/unfold-dim.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/slidy/Slidy2/graphics/unfold-dim.gif -------------------------------------------------------------------------------- /pkgdown/favicon/apple-touch-icon-120x120.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/pkgdown/favicon/apple-touch-icon-120x120.png -------------------------------------------------------------------------------- /pkgdown/favicon/apple-touch-icon-152x152.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/pkgdown/favicon/apple-touch-icon-152x152.png -------------------------------------------------------------------------------- /pkgdown/favicon/apple-touch-icon-180x180.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/pkgdown/favicon/apple-touch-icon-180x180.png -------------------------------------------------------------------------------- /inst/rmd/h/anchor-sections/anchor-sections-hash.css: -------------------------------------------------------------------------------- 1 | /* Styles for section anchors */ 2 | a.anchor-section::before {content: '#';font-size: 80%;} 3 | -------------------------------------------------------------------------------- /inst/rmd/h/bootstrap/css/fonts/NewsCycleBold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/h/bootstrap/css/fonts/NewsCycleBold.ttf -------------------------------------------------------------------------------- /inst/rmd/h/bootstrap/css/fonts/OpenSansBold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/h/bootstrap/css/fonts/OpenSansBold.ttf -------------------------------------------------------------------------------- /inst/rmd/h/bootstrap/css/fonts/OpenSansLight.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/h/bootstrap/css/fonts/OpenSansLight.ttf -------------------------------------------------------------------------------- /inst/rmd/h/bootstrap/css/fonts/RobotoMedium.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/h/bootstrap/css/fonts/RobotoMedium.ttf -------------------------------------------------------------------------------- /inst/rmd/h/bootstrap/css/fonts/SourceSansPro.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/h/bootstrap/css/fonts/SourceSansPro.ttf -------------------------------------------------------------------------------- /inst/rmd/h/fontawesome/webfonts/fa-solid-900.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/h/fontawesome/webfonts/fa-solid-900.eot -------------------------------------------------------------------------------- /inst/rmd/h/fontawesome/webfonts/fa-solid-900.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/h/fontawesome/webfonts/fa-solid-900.ttf -------------------------------------------------------------------------------- /inst/rmd/slidy/Slidy2/graphics/bullet-nofold.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/slidy/Slidy2/graphics/bullet-nofold.gif -------------------------------------------------------------------------------- /inst/rmd/slidy/Slidy2/graphics/bullet-nofold.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/slidy/Slidy2/graphics/bullet-nofold.png -------------------------------------------------------------------------------- /inst/rmd/slidy/Slidy2/graphics/bullet-unfold.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/slidy/Slidy2/graphics/bullet-unfold.gif -------------------------------------------------------------------------------- /inst/rmd/slidy/Slidy2/graphics/bullet-unfold.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/slidy/Slidy2/graphics/bullet-unfold.png -------------------------------------------------------------------------------- /inst/rmd/slidy/Slidy2/graphics/unfold-bright.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/slidy/Slidy2/graphics/unfold-bright.gif -------------------------------------------------------------------------------- /inst/rmd/slidy/Slidy2/graphics/w3c-logo-blue.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/slidy/Slidy2/graphics/w3c-logo-blue.gif -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .Rproj.user 2 | .Rhistory 3 | .RData 4 | .DS_Store 5 | inst/doc 6 | doc 7 | Meta 8 | docs 9 | reference 10 | 11 | /.luarc.json 12 | -------------------------------------------------------------------------------- /inst/rmd/h/bootstrap/css/fonts/OpenSansItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/h/bootstrap/css/fonts/OpenSansItalic.ttf -------------------------------------------------------------------------------- /inst/rmd/h/fontawesome/webfonts/fa-brands-400.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/h/fontawesome/webfonts/fa-brands-400.eot -------------------------------------------------------------------------------- /inst/rmd/h/fontawesome/webfonts/fa-brands-400.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/h/fontawesome/webfonts/fa-brands-400.ttf -------------------------------------------------------------------------------- /inst/rmd/h/fontawesome/webfonts/fa-brands-400.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/h/fontawesome/webfonts/fa-brands-400.woff -------------------------------------------------------------------------------- /inst/rmd/h/fontawesome/webfonts/fa-brands-400.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/h/fontawesome/webfonts/fa-brands-400.woff2 -------------------------------------------------------------------------------- /inst/rmd/h/fontawesome/webfonts/fa-regular-400.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/h/fontawesome/webfonts/fa-regular-400.eot -------------------------------------------------------------------------------- /inst/rmd/h/fontawesome/webfonts/fa-regular-400.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/h/fontawesome/webfonts/fa-regular-400.ttf -------------------------------------------------------------------------------- /inst/rmd/h/fontawesome/webfonts/fa-regular-400.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/h/fontawesome/webfonts/fa-regular-400.woff -------------------------------------------------------------------------------- /inst/rmd/h/fontawesome/webfonts/fa-solid-900.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/h/fontawesome/webfonts/fa-solid-900.woff -------------------------------------------------------------------------------- /inst/rmd/h/fontawesome/webfonts/fa-solid-900.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/h/fontawesome/webfonts/fa-solid-900.woff2 -------------------------------------------------------------------------------- /inst/rmd/slidy/Slidy2/graphics/bullet-fold-dim.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/slidy/Slidy2/graphics/bullet-fold-dim.gif -------------------------------------------------------------------------------- /inst/rmd/slidy/Slidy2/graphics/bullet-fold-dim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/slidy/Slidy2/graphics/bullet-fold-dim.png -------------------------------------------------------------------------------- /inst/rmd/slidy/Slidy2/graphics/w3c-logo-slanted.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/slidy/Slidy2/graphics/w3c-logo-slanted.jpg -------------------------------------------------------------------------------- /inst/rmd/slidy/Slidy2/graphics/w3c-logo-white.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/slidy/Slidy2/graphics/w3c-logo-white.gif -------------------------------------------------------------------------------- /tests/testthat/resources/has-image.css: -------------------------------------------------------------------------------- 1 | /* this css file refers to an image */ 2 | body 3 | { 4 | background-image: url(empty.png) 5 | } 6 | 7 | -------------------------------------------------------------------------------- /inst/rmd/h/bootstrap/css/fonts/OpenSansBoldItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/h/bootstrap/css/fonts/OpenSansBoldItalic.ttf -------------------------------------------------------------------------------- /inst/rmd/h/bootstrap/css/fonts/SourceSansProBold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/h/bootstrap/css/fonts/SourceSansProBold.ttf -------------------------------------------------------------------------------- /inst/rmd/h/bootstrap/css/fonts/SourceSansProLight.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/h/bootstrap/css/fonts/SourceSansProLight.ttf -------------------------------------------------------------------------------- /inst/rmd/h/fontawesome/webfonts/fa-regular-400.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/h/fontawesome/webfonts/fa-regular-400.woff2 -------------------------------------------------------------------------------- /inst/rmd/ioslides/ioslides-13.5.1/fonts/OpenSans.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/ioslides/ioslides-13.5.1/fonts/OpenSans.ttf -------------------------------------------------------------------------------- /inst/rmd/slidy/Slidy2/graphics/bullet-nofold-dim.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/slidy/Slidy2/graphics/bullet-nofold-dim.gif -------------------------------------------------------------------------------- /inst/rmd/slidy/Slidy2/graphics/bullet-nofold-dim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/slidy/Slidy2/graphics/bullet-nofold-dim.png -------------------------------------------------------------------------------- /inst/rmd/slidy/Slidy2/graphics/bullet-unfold-dim.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/slidy/Slidy2/graphics/bullet-unfold-dim.gif -------------------------------------------------------------------------------- /inst/rmd/slidy/Slidy2/graphics/bullet-unfold-dim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/slidy/Slidy2/graphics/bullet-unfold-dim.png -------------------------------------------------------------------------------- /tests/testthat/resources/pdf.Rmd: -------------------------------------------------------------------------------- 1 | --- 2 | output: pdf_document 3 | bibliography: empty.bib 4 | csl: empty.csl 5 | --- 6 | 7 | ![empty](empty.png) 8 | 9 | -------------------------------------------------------------------------------- /inst/rmd/h/bootstrap/css/fonts/OpenSansLightItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/h/bootstrap/css/fonts/OpenSansLightItalic.ttf -------------------------------------------------------------------------------- /inst/rmd/h/bootstrap/css/fonts/SourceSansProItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/h/bootstrap/css/fonts/SourceSansProItalic.ttf -------------------------------------------------------------------------------- /inst/rmd/h/jqueryui/images/ui-icons_444444_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/h/jqueryui/images/ui-icons_444444_256x240.png -------------------------------------------------------------------------------- /inst/rmd/h/jqueryui/images/ui-icons_555555_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/h/jqueryui/images/ui-icons_555555_256x240.png -------------------------------------------------------------------------------- /inst/rmd/h/jqueryui/images/ui-icons_777620_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/h/jqueryui/images/ui-icons_777620_256x240.png -------------------------------------------------------------------------------- /inst/rmd/h/jqueryui/images/ui-icons_777777_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/h/jqueryui/images/ui-icons_777777_256x240.png -------------------------------------------------------------------------------- /inst/rmd/h/jqueryui/images/ui-icons_cc0000_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/h/jqueryui/images/ui-icons_cc0000_256x240.png -------------------------------------------------------------------------------- /inst/rmd/h/jqueryui/images/ui-icons_ffffff_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/h/jqueryui/images/ui-icons_ffffff_256x240.png -------------------------------------------------------------------------------- /vignettes/articles/examples.Rmd: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Examples" 3 | --- 4 | 5 | See the R Markdown gallery for examples: . 6 | -------------------------------------------------------------------------------- /inst/rmd/ioslides/ioslides-13.5.1/fonts/OpenSansItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/ioslides/ioslides-13.5.1/fonts/OpenSansItalic.ttf -------------------------------------------------------------------------------- /inst/rmd/ioslides/ioslides-13.5.1/fonts/SourceCodePro.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/ioslides/ioslides-13.5.1/fonts/SourceCodePro.ttf -------------------------------------------------------------------------------- /inst/rmd/ioslides/ioslides-13.5.1/js/prettify/lang-tex.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/ioslides/ioslides-13.5.1/js/prettify/lang-tex.js -------------------------------------------------------------------------------- /tests/rmd/word.Rmd: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Word Document with a Template" 3 | output: 4 | word_document: 5 | reference_docx: template.docx 6 | --- 7 | 8 | Foo bar. 9 | -------------------------------------------------------------------------------- /tests/testthat/_snaps/github_document/github-atx.md: -------------------------------------------------------------------------------- 1 | 2 | # title 1 3 | 4 | ## title 2 5 | 6 | ### title 3 7 | 8 | #### title 4 9 | 10 | ##### title 5 11 | -------------------------------------------------------------------------------- /tests/testthat/resources/period.Rmd: -------------------------------------------------------------------------------- 1 | --- 2 | output: html_document 3 | --- 4 | 5 | this dir 6 | 7 | ```{r} 8 | '.', '..' 9 | ``` 10 | 11 | -------------------------------------------------------------------------------- /inst/rmd/h/bootstrap/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/h/bootstrap/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /inst/rmd/h/bootstrap/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/h/bootstrap/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /inst/rmd/h/bootstrap/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/h/bootstrap/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /inst/rmd/h/bootstrap/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/h/bootstrap/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /inst/rmd/ioslides/ioslides-13.5.1/fonts/OpenSansSemibold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/ioslides/ioslides-13.5.1/fonts/OpenSansSemibold.ttf -------------------------------------------------------------------------------- /inst/rmd/ioslides/ioslides-13.5.1/fonts/OpenSansSemiboldItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/ioslides/ioslides-13.5.1/fonts/OpenSansSemiboldItalic.ttf -------------------------------------------------------------------------------- /inst/rmd/fragment/default.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | $for(include-before)$ 4 | $include-before$ 5 | $endfor$ 6 | 7 | $body$ 8 | 9 | $for(include-after)$ 10 | $include-after$ 11 | $endfor$ 12 | -------------------------------------------------------------------------------- /inst/rmd/ioslides/ioslides-13.5.1/images/google_developers_icon_128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jtr13/rmarkdown/main/inst/rmd/ioslides/ioslides-13.5.1/images/google_developers_icon_128.png -------------------------------------------------------------------------------- /tests/testthat/resources/file-exists.Rmd: -------------------------------------------------------------------------------- 1 | --- 2 | title: Test 3 | --- 4 | 5 | ```{r} 6 | if (!file.exists("empty.csv")) 7 | stop("empty.csv expected in ", getwd()) 8 | ``` 9 | 10 | -------------------------------------------------------------------------------- /inst/rmd/site/_site.yml: -------------------------------------------------------------------------------- 1 | name: "my-website" 2 | navbar: 3 | title: "My Website" 4 | left: 5 | - text: "Home" 6 | href: index.html 7 | - text: "About" 8 | href: about.html 9 | -------------------------------------------------------------------------------- /inst/rmarkdown/templates/github_document/template.yaml: -------------------------------------------------------------------------------- 1 | name: GitHub Document (Markdown) 2 | description: > 3 | Template for documents to be published as GitHub Flavored Markdown. 4 | create_dir: false 5 | -------------------------------------------------------------------------------- /tests/rmd/output_dir.Rmd: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Warning in file.rename(from, to)" 3 | --- 4 | 5 | See https://github.com/rstudio/rmarkdown/issues/1224 for details. 6 | 7 | ```{r} 8 | plot(1) 9 | ``` 10 | -------------------------------------------------------------------------------- /tests/testthat/resources/UTF8.bib: -------------------------------------------------------------------------------- 1 | @article{conc2021, 2 | title={História da Habitação}, 3 | author={Conceição, Sérgio}, 4 | journal={Portuguese History}, 5 | number={1}, 6 | year={2021} 7 | } 8 | -------------------------------------------------------------------------------- /tests/testthat/test-knit_print.R: -------------------------------------------------------------------------------- 1 | test_that("knit_print.data.frame default to print without error", { 2 | df <- data.frame(a = 10) 3 | expect_error(knit_print.data.frame(df, inline = TRUE), NA) 4 | }) 5 | -------------------------------------------------------------------------------- /inst/rmd/latex/subtitle.tex: -------------------------------------------------------------------------------- 1 | \usepackage{etoolbox} 2 | \makeatletter 3 | \providecommand{\subtitle}[1]{% add subtitle to \maketitle 4 | \apptocmd{\@title}{\par {\large #1 \par}}{}{} 5 | } 6 | \makeatother 7 | -------------------------------------------------------------------------------- /tests/rmd/raw-header.Rmd: -------------------------------------------------------------------------------- 1 | --- 2 | output: pdf_document 3 | header-includes: 4 | - | 5 | ```{=latex} 6 | \newcommand{\foobar}[1]{Foo#1Bar} 7 | ``` 8 | --- 9 | 10 | ```{=latex} 11 | \foobar{Baz} 12 | ``` 13 | -------------------------------------------------------------------------------- /tests/testthat/_snaps/before-pandoc-2.18/github_document/github-toc.md: -------------------------------------------------------------------------------- 1 | 2 | - [10 Section](#10-section) 3 | - [Header](#header) 4 | 5 | # 10 Section 6 | 7 | Sentence. 8 | 9 | # Header 10 | 11 | Sentence 12 | -------------------------------------------------------------------------------- /inst/rstudio/templates/project/skeleton.dcf: -------------------------------------------------------------------------------- 1 | Title: Simple R Markdown Website 2 | Binding: site_skeleton 3 | Subtitle: Create a simple R Markdown website 4 | Caption: Create a simple R Markdown website 5 | OpenFiles: _site.yml, *.Rmd 6 | -------------------------------------------------------------------------------- /tests/testthat/_snaps/before-pandoc-2.18/github_document/github-toc-numbered.md: -------------------------------------------------------------------------------- 1 | 2 | - [1 Section](#1-section) 3 | - [2 Header](#2-header) 4 | 5 | # 1 Section 6 | 7 | Sentence. 8 | 9 | # 2 Header 10 | 11 | Sentence 12 | -------------------------------------------------------------------------------- /tests/testthat/resources/resource-files.Rmd: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Untitled" 3 | author: "RStudio" 4 | output: html_document 5 | resource_files: 6 | - nonempty/*.csv 7 | - csvs 8 | - empty.bib 9 | --- 10 | 11 | # Hello, world. 12 | 13 | -------------------------------------------------------------------------------- /tests/testthat/test-ioslides_presentation.R: -------------------------------------------------------------------------------- 1 | # TODO: to remove when switching the package to edition 3 2 | local_edition(3) 3 | 4 | test_that("Only mathjax is supported", { 5 | expect_error(ioslides_presentation(math_method = "katex")) 6 | }) 7 | -------------------------------------------------------------------------------- /inst/rmarkdown/templates/html_vignette/template.yaml: -------------------------------------------------------------------------------- 1 | name: Package Vignette (HTML) 2 | description: > 3 | Template for package vignettes. This customises the basic HTML output 4 | to take up as little space as possible. 5 | create_dir: false 6 | -------------------------------------------------------------------------------- /tools/install-pandoc.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | mkdir -p $HOME/bin 4 | cd $HOME/bin 5 | curl -LO https://travis-bin.yihui.org/pandoc-linux.zip 6 | unzip -j pandoc-linux.zip \*/pandoc 7 | rm pandoc-linux.zip 8 | chmod +x pandoc 9 | pandoc --version 10 | -------------------------------------------------------------------------------- /tests/testthat/_snaps/github_document/github-toc.md: -------------------------------------------------------------------------------- 1 | 2 | - 10 Section 3 | - Header 4 | 5 | # 10 Section 6 | 7 | Sentence. 8 | 9 | # Header 10 | 11 | Sentence 12 | -------------------------------------------------------------------------------- /tests/rmd/two-authors.Rmd: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Two authors" 3 | output: pdf_document 4 | author: 5 | - John Doe 6 | - Jane Doe 7 | --- 8 | 9 | The default LaTeX template should work with multiple authors: https://github.com/rstudio/rmarkdown/issues/1716 10 | -------------------------------------------------------------------------------- /inst/rmd/h/anchor-sections/anchor-sections.css: -------------------------------------------------------------------------------- 1 | /* Styles for section anchors */ 2 | a.anchor-section {margin-left: 10px; visibility: hidden; color: inherit;} 3 | .hasAnchor:hover a.anchor-section {visibility: visible;} 4 | ul > li > .anchor-section {display: none;} 5 | -------------------------------------------------------------------------------- /tests/testthat/resources/directory-refs.Rmd: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Untitled" 3 | author: "RStudio" 4 | output: html_document 5 | resource_files: 6 | - nonempty 7 | --- 8 | 9 | ```{r, echo=FALSE} 10 | # reference empty directory 11 | print("./empty") 12 | ``` 13 | 14 | -------------------------------------------------------------------------------- /tests/rmd/yaml-r-code.Rmd: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Inline R code in YAML" 3 | output: pdf_document 4 | header-includes: 5 | - \usepackage{`r "ae"`} 6 | --- 7 | 8 | R code in YAML should be evaluated before YAML is passed to Pandoc: https://github.com/rstudio/rmarkdown/issues/1709 9 | -------------------------------------------------------------------------------- /tests/testthat/_snaps/after-pandoc-2.18/github_document/github-toc.md: -------------------------------------------------------------------------------- 1 | 2 | - 10 Section 3 | - Header 4 | 5 | # 10 Section 6 | 7 | Sentence. 8 | 9 | # Header 10 | 11 | Sentence 12 | -------------------------------------------------------------------------------- /tests/testthat/_snaps/github_document/github-toc-numbered.md: -------------------------------------------------------------------------------- 1 | 2 | - 1 Section 3 | - 2 Header 4 | 5 | # 1 Section 6 | 7 | Sentence. 8 | 9 | # 2 Header 10 | 11 | Sentence 12 | -------------------------------------------------------------------------------- /tests/testthat/_snaps/lua-filters.md: -------------------------------------------------------------------------------- 1 | # latex-divs.lua works with LaTeX (PDF) 2 | 3 | \begin{custom} content \end{custom} 4 | 5 | --- 6 | 7 | \begin{custom} content \end{custom} 8 | 9 | --- 10 | 11 | \begin{custom} content \end{custom} 12 | 13 | -------------------------------------------------------------------------------- /tests/testthat/_snaps/pandoc-2.18/github_document/github-toc.md: -------------------------------------------------------------------------------- 1 | 2 | - 10 Section 3 | - Header 4 | 5 | # 10 Section 6 | 7 | Sentence. 8 | 9 | # Header 10 | 11 | Sentence 12 | -------------------------------------------------------------------------------- /tests/testthat/resources/empty.csl: -------------------------------------------------------------------------------- 1 | 2 | 10 | -------------------------------------------------------------------------------- /tests/testthat/_snaps/pandoc-2.18/github_document/github-toc-numbered.md: -------------------------------------------------------------------------------- 1 | 2 | - 1 Section 3 | - 2 Header 4 | 5 | # 1 Section 6 | 7 | Sentence. 8 | 9 | # 2 Header 10 | 11 | Sentence 12 | -------------------------------------------------------------------------------- /tests/testthat/_snaps/after-pandoc-2.18/github_document/github-toc-numbered.md: -------------------------------------------------------------------------------- 1 | 2 | - 1 Section 3 | - 2 Header 4 | 5 | # 1 Section 6 | 7 | Sentence. 8 | 9 | # 2 Header 10 | 11 | Sentence 12 | -------------------------------------------------------------------------------- /tests/testthat/test-encode-decode.R: -------------------------------------------------------------------------------- 1 | context("encoding") 2 | 3 | test_that("R objects can be encoded, decoded", { 4 | data <- list(a = 1L, b = 2L, c = "3") 5 | encoded <- base64_encode_object(data) 6 | decoded <- base64_decode_object(encoded) 7 | expect_equal(data, decoded) 8 | }) 9 | -------------------------------------------------------------------------------- /tests/testthat/resources/multi-includes.Rmd: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Multiple includes" 3 | output: 4 | html_document: 5 | includes: 6 | after_body: 7 | - dep1.html 8 | - dep2.html 9 | --- 10 | 11 | This document doesn't do anything, other than import two dependencies. 12 | -------------------------------------------------------------------------------- /inst/rmd/ioslides/ioslides-13.5.1/theme/css/phone.css: -------------------------------------------------------------------------------- 1 | 2 | @media only screen and (max-device-width: 480px) { 3 | 4 | slides>slide{-webkit-transition:none !important;-webkit-transition:none !important;-moz-transition:none !important;-o-transition:none !important;transition:none !important} 5 | 6 | } 7 | -------------------------------------------------------------------------------- /codecov.yml: -------------------------------------------------------------------------------- 1 | comment: false 2 | 3 | coverage: 4 | status: 5 | project: 6 | default: 7 | target: auto 8 | threshold: 1% 9 | informational: true 10 | patch: 11 | default: 12 | target: auto 13 | threshold: 1% 14 | informational: true 15 | -------------------------------------------------------------------------------- /tests/testthat/resources/html.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /inst/rmd/h/anchor-sections/anchor-sections-symbol.css: -------------------------------------------------------------------------------- 1 | /* Styles for section anchors content */ 2 | /* Link symbol : https://codepoints.net/U+1F517 3 | with variation selector https://graphemica.com/FE0E */ 4 | a.anchor-section::before{content: '\01F517\00FE0E';font-size: 20px;} 5 | /* deactivate underline for link symbol */ 6 | a.anchor-section:hover {text-decoration: none;} 7 | -------------------------------------------------------------------------------- /inst/rmd/h/rmarkdown/rmd_loader.css: -------------------------------------------------------------------------------- 1 | #rmd_loader_wrapper 2 | { 3 | display: table; 4 | position: fixed; 5 | height: 100%; 6 | width: 100%; 7 | } 8 | 9 | #rmd_loader 10 | { 11 | display: table-cell; 12 | vertical-align: middle; 13 | text-align: center; 14 | height: 100%; 15 | width: 100%; 16 | font-family: sans-serif; 17 | color: #a0a0a0; 18 | } 19 | -------------------------------------------------------------------------------- /man/figures/link-black-18dp.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/shiny/04-prerendered-envir.Rmd: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Untitled" 3 | output: html_document 4 | runtime: shiny_prerendered 5 | --- 6 | 7 | `args` should return `base::args` instead of `list(input, envir, ...)`; and `output_file` should not exist. 8 | 9 | ```{r error=TRUE} 10 | args 11 | output_file 12 | ``` 13 | 14 | Originally reported at https://github.com/rstudio/rmarkdown/issues/1124. 15 | -------------------------------------------------------------------------------- /tools/select-highlight.js: -------------------------------------------------------------------------------- 1 | var langs = [ 2 | 'awk', 'bash', 'coffeescript', 'cpp', 'css', 'diff', 'fortran', 'go', 3 | 'ini', 'java', 'javascript', 'json', 'julia', 'makefile', 'markdown', 4 | 'perl', 'python', 'r', 'ruby', 'sql', 'stan', 'tex', 'xml', 'yaml' 5 | ]; 6 | document.querySelectorAll('input').forEach(function(el) { 7 | el.checked = langs.indexOf(el.name.replace(/\.js$/, '')) > 0; 8 | }); 9 | -------------------------------------------------------------------------------- /inst/rmd/slidy/slidy_shiny.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | if (!window.w3c_slidy) return; 3 | if (!window.Shiny) return; 4 | if (!window.$) return; 5 | // whenever a slide changes, tell shiny to recalculate what is displayed 6 | window.w3c_slidy.add_observer(function (slide_num) { 7 | // slide_num starts at position 1 8 | $(w3c_slidy.slides[slide_num - 1]).trigger("shown"); 9 | }); 10 | })() 11 | -------------------------------------------------------------------------------- /tests/rmd/anchor-sections.Rmd: -------------------------------------------------------------------------------- 1 | --- 2 | title: "achor_sections" 3 | author: "christophe" 4 | date: "04/01/2022" 5 | output: 6 | html_document: 7 | anchor_sections: 8 | style: symbol # use symbol style ("dash", "symbol", "icon") 9 | depth: 2 # max depth to apply anchor on (default to max which is 6) 10 | --- 11 | 12 | # Hello 13 | 14 | ## Sub 1 15 | 16 | ### Sub 2 17 | 18 | Content 19 | -------------------------------------------------------------------------------- /inst/rmd/h/navigation-1.1/sourceembed.js: -------------------------------------------------------------------------------- 1 | 2 | window.initializeSourceEmbed = function(filename) { 3 | $("#rmd-download-source").click(function() { 4 | var src = $("#rmd-source-code").html(); 5 | var a = document.createElement('a'); 6 | a.href = "data:text/x-r-markdown;base64," + src; 7 | a.download = filename; 8 | document.body.appendChild(a); 9 | a.click(); 10 | document.body.removeChild(a); 11 | }); 12 | }; 13 | -------------------------------------------------------------------------------- /tests/shiny/01-basic-input.Rmd: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Make sure input works" 3 | output: html_document 4 | runtime: shiny 5 | --- 6 | 7 | ```{r} 8 | textInput("days", "Days", 100) 9 | ``` 10 | 11 | In rmarkdown 1.7, the chunk below renders an error `object 'input' not found` instead of the expected `100`: 12 | 13 | ```{r} 14 | renderPrint(input$days) 15 | ``` 16 | 17 | It was fixed via https://github.com/rstudio/rmarkdown/commit/67eaa7aa6. 18 | -------------------------------------------------------------------------------- /.Rbuildignore: -------------------------------------------------------------------------------- 1 | ^.*\.Rproj$ 2 | ^\.Rproj\.user$ 3 | ^tools/ 4 | ^\.travis\.yml$ 5 | ^tests/testthat/site/.*\.html 6 | ^tests/testthat/site/rsconnect/ 7 | ^tests/testthat/site/_site/ 8 | ^tests/testthat/site/lib/ 9 | ^tests/testthat/site/.*_files/ 10 | ^tests/manual/ 11 | ^\.github$ 12 | ^pkgdown$ 13 | ^doc$ 14 | ^Meta$ 15 | ^codecov\.yml$ 16 | ^docs$ 17 | ^reference$ 18 | ^vignettes/articles$ 19 | ^CITATION\.cff$ 20 | ^LICENSE\.md$ 21 | ^revdep$ 22 | -------------------------------------------------------------------------------- /inst/rmd/h/jqueryui/README: -------------------------------------------------------------------------------- 1 | This a jQuery UI custom build, downloaded from: 2 | http://jqueryui.com/download/#!version=1.11.4&components=1111111111110111111111111111111111111 3 | 4 | It includes all components except the datepicker, because it conflicts with 5 | bootstrap-datepicker that is packaged with Shiny. 6 | 7 | The copy of jQuery that is bundled with the download, under external/, is not 8 | included because Shiny already has its own copy of jQuery. 9 | -------------------------------------------------------------------------------- /inst/rmd/h/rmarkdown/rmd_perf.css: -------------------------------------------------------------------------------- 1 | .perf_popup 2 | { 3 | background-color: white; 4 | border: 1px solid black; 5 | color: black; 6 | font-family: sans-serif; 7 | font-size: small; 8 | line-height: normal; 9 | padding: 5px; 10 | position: fixed; 11 | right: 20px; 12 | top: 20px; 13 | } 14 | 15 | .perf_databar 16 | { 17 | height: 4px; 18 | margin-top: 0px; 19 | margin-bottom: 5px; 20 | background-color: blue; 21 | } 22 | -------------------------------------------------------------------------------- /inst/rmd/ioslides/ioslides-13.5.1/js/prettify/lang-yaml.js: -------------------------------------------------------------------------------- 1 | var a=null; 2 | PR.registerLangHandler(PR.createSimpleLexer([["pun",/^[:>?|]+/,a,":|>?"],["dec",/^%(?:YAML|TAG)[^\n\r#]+/,a,"%"],["typ",/^&\S+/,a,"&"],["typ",/^!\S*/,a,"!"],["str",/^"(?:[^"\\]|\\.)*(?:"|$)/,a,'"'],["str",/^'(?:[^']|'')*(?:'|$)/,a,"'"],["com",/^#[^\n\r]*/,a,"#"],["pln",/^\s+/,a," \t\r\n"]],[["dec",/^(?:---|\.\.\.)(?:[\n\r]|$)/],["pun",/^-/],["kwd",/^\w+:[\n\r ]/],["pln",/^\w+/]]),["yaml","yml"]); 3 | -------------------------------------------------------------------------------- /inst/rmarkdown/templates/github_document/resources/default.md: -------------------------------------------------------------------------------- 1 | $if(title)$ 2 | $title$ 3 | ================ 4 | $endif$ 5 | $if(author)$ 6 | $author$ 7 | $endif$ 8 | $if(date)$ 9 | $date$ 10 | $endif$ 11 | 12 | $for(header-includes)$ 13 | $header-includes$ 14 | 15 | $endfor$ 16 | $for(include-before)$ 17 | $include-before$ 18 | 19 | $endfor$ 20 | $if(toc)$ 21 | $toc$ 22 | 23 | $endif$ 24 | $body$ 25 | $for(include-after)$ 26 | 27 | $include-after$ 28 | $endfor$ 29 | -------------------------------------------------------------------------------- /tests/rmd/two-bibs.Rmd: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Two bibliography entries" 3 | output: rmarkdown::html_vignette 4 | bibliography: 5 | - one.bib 6 | - two.bib 7 | --- 8 | 9 | This document should render successfully with `rmarkdown::render('two-bibs.Rmd', intermediates_dir = tempdir())`: https://github.com/rstudio/rmarkdown/issues/1358 10 | 11 | ```{r} 12 | knitr::write_bib('base', 'one.bib') 13 | knitr::write_bib('rmarkdown', 'two.bib') 14 | ``` 15 | 16 | @R-base and @R-rmarkdown 17 | -------------------------------------------------------------------------------- /tests/testthat/resources/quotes.Rmd: -------------------------------------------------------------------------------- 1 | 2 | Here is a filename outside an .R chunk: "empty.bib". It shouldn't be discovered. 3 | 4 | ```{r} 5 | # this R code has a lot of strings that aren't filenames 6 | paste("Covariances should be a ", n, " by ", n, " matrix") 7 | syms <- paste("x", 1:n, sep = "") 8 | as.numeric(attr(eval(deriv(form, syms), envir = envir), "gradient")) 9 | 10 | # this R code has strings that are filenames 11 | read.csv("./empty.csv") 12 | read.csv('./empty.tsv') 13 | ``` 14 | 15 | -------------------------------------------------------------------------------- /inst/rmd/slidy/Slidy2/.htaccess: -------------------------------------------------------------------------------- 1 | Options +MultiViews 2 | LanguagePriority en 3 | AddLanguage pt-br .pt-br 4 | 5 | 6 | 7 | ForceType 'text/html; charset=utf-8' 8 | 9 | 10 | 11 | 12 | 13 | ForceType 'application/xhtml+xml; charset=utf-8' 14 | 15 | 16 | 17 | 18 | 19 | ForceType 'text/css; charset=utf-8' 20 | 21 | 22 | 23 | 24 | 25 | ForceType 'text/javascript; charset=utf-8' 26 | 27 | 28 | mkdir 29 | -------------------------------------------------------------------------------- /inst/rmd/slidy/Slidy2/scripts/.htaccess: -------------------------------------------------------------------------------- 1 | Options +MultiViews 2 | LanguagePriority en 3 | AddLanguage pt-br .pt-br 4 | 5 | 6 | 7 | ForceType 'text/html; charset=utf-8' 8 | 9 | 10 | 11 | 12 | 13 | ForceType 'application/xhtml+xml; charset=utf-8' 14 | 15 | 16 | 17 | 18 | 19 | ForceType 'text/css; charset=utf-8' 20 | 21 | 22 | 23 | 24 | 25 | ForceType 'text/javascript; charset=utf-8' 26 | 27 | 28 | mkdir 29 | -------------------------------------------------------------------------------- /inst/rmd/slidy/Slidy2/styles/.htaccess: -------------------------------------------------------------------------------- 1 | Options +MultiViews 2 | LanguagePriority en 3 | AddLanguage pt-br .pt-br 4 | 5 | 6 | 7 | ForceType 'text/html; charset=utf-8' 8 | 9 | 10 | 11 | 12 | 13 | ForceType 'application/xhtml+xml; charset=utf-8' 14 | 15 | 16 | 17 | 18 | 19 | ForceType 'text/css; charset=utf-8' 20 | 21 | 22 | 23 | 24 | 25 | ForceType 'text/javascript; charset=utf-8' 26 | 27 | 28 | mkdir 29 | -------------------------------------------------------------------------------- /rmarkdown.Rproj: -------------------------------------------------------------------------------- 1 | Version: 1.0 2 | 3 | RestoreWorkspace: No 4 | SaveWorkspace: No 5 | AlwaysSaveHistory: Yes 6 | 7 | EnableCodeIndexing: Yes 8 | UseSpacesForTab: Yes 9 | NumSpacesForTab: 2 10 | Encoding: UTF-8 11 | 12 | RnwWeave: Sweave 13 | LaTeX: pdfLaTeX 14 | 15 | AutoAppendNewline: Yes 16 | StripTrailingWhitespace: Yes 17 | 18 | BuildType: Package 19 | PackageUseDevtools: Yes 20 | PackageInstallArgs: --no-multiarch --with-keep.source 21 | PackageCheckArgs: --as-cran 22 | PackageRoxygenize: rd,collate,namespace 23 | -------------------------------------------------------------------------------- /inst/rmd/site/index.Rmd: -------------------------------------------------------------------------------- 1 | --- 2 | title: "My Website" 3 | --- 4 | 5 | Hello, Website! 6 | 7 | For more information about simple R Markdown websites, please read the documentation at https://bookdown.org/yihui/rmarkdown/rmarkdown-site.html. 8 | 9 | Please also note that simple R Markdown sites are _not_ based on **blogdown**. They are probably good for websites with only a few Rmd documents. For larger-scale and more sophisticated websites (such as blogs), you may want to use **blogdown** instead: https://github.com/rstudio/blogdown. 10 | -------------------------------------------------------------------------------- /man/shiny_prerendered_clean.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/shiny_prerendered.R 3 | \name{shiny_prerendered_clean} 4 | \alias{shiny_prerendered_clean} 5 | \title{Clean prerendered content for the specified Rmd input file} 6 | \usage{ 7 | shiny_prerendered_clean(input) 8 | } 9 | \arguments{ 10 | \item{input}{Rmd input file to clean content for} 11 | } 12 | \description{ 13 | Remove the associated html file and supporting _files directory 14 | for a shiny_prerendered documet. 15 | } 16 | -------------------------------------------------------------------------------- /R/stack.R: -------------------------------------------------------------------------------- 1 | new_stack <- function() { 2 | 3 | .data <- list() 4 | .index <- 0 5 | 6 | push <- function(data) { 7 | .index <<- .index + 1 8 | .data[[.index]] <<- data 9 | } 10 | 11 | pop <- function() { 12 | if (.index == 0) 13 | return(NULL) 14 | 15 | result <- .data[[.index]] 16 | .index <<- .index - 1 17 | result 18 | } 19 | 20 | peek <- function() { 21 | if (.index == 0) 22 | return(NULL) 23 | .data[[.index]] 24 | } 25 | 26 | list(push = push, pop = pop, peek = peek) 27 | } 28 | 29 | -------------------------------------------------------------------------------- /man/yaml_front_matter.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/output_format.R 3 | \name{yaml_front_matter} 4 | \alias{yaml_front_matter} 5 | \title{Parse the YAML front matter from a file} 6 | \usage{ 7 | yaml_front_matter(input, encoding = "UTF-8") 8 | } 9 | \arguments{ 10 | \item{input}{Input file (Rmd or plain markdown)} 11 | 12 | \item{encoding}{Ignored. The encoding is always assumed to be UTF-8.} 13 | } 14 | \description{ 15 | Parse the YAML front matter from a file 16 | } 17 | \keyword{internal} 18 | -------------------------------------------------------------------------------- /inst/rmd/h/bootstrap/js/npm.js: -------------------------------------------------------------------------------- 1 | // This file is autogenerated via the `commonjs` Grunt task. You can require() this file in a CommonJS environment. 2 | require('../../js/transition.js') 3 | require('../../js/alert.js') 4 | require('../../js/button.js') 5 | require('../../js/carousel.js') 6 | require('../../js/collapse.js') 7 | require('../../js/dropdown.js') 8 | require('../../js/modal.js') 9 | require('../../js/tooltip.js') 10 | require('../../js/popover.js') 11 | require('../../js/scrollspy.js') 12 | require('../../js/tab.js') 13 | require('../../js/affix.js') -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | blank_issues_enabled: false 2 | contact_links: 3 | - name: Issue guide 4 | url: https://yihui.org/issue/ 5 | about: First time here or need a refresh? Please consult the issue guide before posting. 6 | - name: Ask a question on RStudio Community 7 | url: https://community.rstudio.com/c/r-markdown/10 8 | about: Please ask and answer questions here. 9 | - name: Ask a question on Stack Overflow 10 | url: https://stackoverflow.com/questions/tagged/r+r-markdown 11 | about: Please ask and answer questions here. 12 | -------------------------------------------------------------------------------- /inst/rmd/h/anchor-sections/anchor-sections.js: -------------------------------------------------------------------------------- 1 | document.addEventListener('DOMContentLoaded', function () { 2 | // If section divs is used, we need to put the anchor in the child header 3 | const headers = document.querySelectorAll("div.hasAnchor.section[class*='level'] > :first-child") 4 | 5 | headers.forEach(function (x) { 6 | // Add to the header node 7 | if (!x.classList.contains('hasAnchor')) x.classList.add('hasAnchor') 8 | // Remove from the section or div created by Pandoc 9 | x.parentElement.classList.remove('hasAnchor') 10 | }) 11 | }) 12 | -------------------------------------------------------------------------------- /inst/rmd/h/pandoc/header-attrs.js: -------------------------------------------------------------------------------- 1 | // Pandoc 2.9 adds attributes on both header and div. We remove the former (to 2 | // be compatible with the behavior of Pandoc < 2.8). 3 | document.addEventListener('DOMContentLoaded', function(e) { 4 | var hs = document.querySelectorAll("div.section[class*='level'] > :first-child"); 5 | var i, h, a; 6 | for (i = 0; i < hs.length; i++) { 7 | h = hs[i]; 8 | if (!/^h[1-6]$/i.test(h.tagName)) continue; // it should be a header h1-h6 9 | a = h.attributes; 10 | while (a.length > 0) h.removeAttribute(a[0].name); 11 | } 12 | }); 13 | -------------------------------------------------------------------------------- /man/latex_dependency.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/latex_dependencies.R 3 | \name{latex_dependency} 4 | \alias{latex_dependency} 5 | \title{Define a LaTeX package dependency} 6 | \usage{ 7 | latex_dependency(name, options = NULL, extra_lines = NULL) 8 | } 9 | \arguments{ 10 | \item{name}{The LaTeX package name} 11 | 12 | \item{options}{The LaTeX options for the package} 13 | 14 | \item{extra_lines}{LaTeX code related to the package added to the preamble} 15 | } 16 | \description{ 17 | Define a LaTeX package dependency 18 | } 19 | -------------------------------------------------------------------------------- /man/html_notebook_metadata.Rd: -------------------------------------------------------------------------------- 1 | % Generated by roxygen2: do not edit by hand 2 | % Please edit documentation in R/html_notebook_output.R 3 | \name{html_notebook_metadata} 4 | \alias{html_notebook_metadata} 5 | \title{Generate R Notebook Metadata} 6 | \usage{ 7 | html_notebook_metadata(iframe = TRUE) 8 | } 9 | \arguments{ 10 | \item{iframe}{Boolean; should output be shown in an \code{