description
is provided in one of the Rmd post (thanks, @cpsyctc, @apeterson91, #490, #448).highlight-downlit: false
by tweaking Pandoc's default CSS rules (thanks, @SES-CE, #473).format()
instead of as.character()
with Dates to account for argument format=
deprecation in R 4.3.0 (thanks, @mbojan, #488).subtitle
variable in HTML template placed between title and categories (thanks, @dicook, #480).distill_article()
, metadata header in HTML is separated by <hr>
to improve accessibility (thanks, @mitchelloharawild, #495, @ajrgodfrey, #rjournal/rjtools#92)creative_commons
(thanks, @fkohrt, #431).@
is used unescaped in a document without bibliography
YAML key (thanks, @L-Groeninger, #466).index.html
(thanks, @phillc73, #91).search.json
that was still written even when search: false
in set in config (thanks, @mitchelloharawild, #425).out.width
chunk option (thanks, @ssp3nc3r, #286).targets::tar_render()
with a distill Rmd document (thanks, @tarensanders, #400)full_content: true
for RSS feed creation (thanks, @yuryzablotski, #454)._footer.html
in posts (thanks, @shikokuchuo, #417).aria-hidden
on icon and setting aria-label
on wrapping link (thanks, @batpigandme, #426).create_website()
now works when no dir
is provided and prompted to user.<script>
and <style>
are now considered not searchable and exclude from content in search.json
. This should make the json file a lot lighter and loading faster as htmlwidget code (e.g plotly graph) would correctly be not included (thanks, @mitchelloharawild, #425).arrow
regarding accessibility.code_folding = FALSE
set on a chunk is now correctly taken into account and does not enforce echo = TRUE
. As a reminder, setting code_folding: true
in YAML header will enforce echo = TRUE
on chunk, unless code_folding
is unset on a per-chunk basis (thanks, @werkstattcodes, #297)._footer.html
containing HTML tags using attributes with no value (#377).css
argument in distill_article()
now supports new feature from rmarkdown::html_document_base()
and will compile to CSS any .scss
or .sass
file.code_folding
option.main
default branch (#215).listings
YAML metadata.create_article()
function to create articles from alternate formats.includes
within website articlescitation: false
metadata.sourceCode
class to pre and code tags for downlit output.overflow: hidden
for code blocks on mobile devices (is now overflow: auto
).ignoreLocation: true
and threshold: 0
.main
default branch.Add site search feature using Fuse.js (enabled by default for blog sites). Can be explicitly enabled or disabled for any site using the search
field in the navbar
key of _site.yml
.
Provide navbar link to website source code when source_url
is provided in the navbar
key of _site.yml
.
Use pandoc rather than distill for bibliography generation. Provides support for csl
, nocite
, and link-citations
, as well as the use of multiple bibliographies (including non-BibTeX ones). Eliminates distill provided mouse-over citation display, but users seem to value the Pandoc features more than this one.
Use pandoc rather than distill for code output (syntax highlighting themes can be customized using the highlight
option). New default highlighting theme optimized for accessibility.
Use the downlit package to syntax highlight R code chunks (controlled by the highlight_downlit
option, which is enabled by default).
More straightforward theming using the theme
option (available for both articles and sites) and the create_theme()
function.
Provide heading anchor links in left margin on hover.
Display article table of contents in the left sidebar. This is done only when the browser >= 1000 pixels wide, otherwise it's shown at the top.
Added create_article()
function for straightforward creation of new articles.
Show author (below date) within article listings.
Various improvements to category display, including showing categories on article pages and within article listings, adding a special "articles" category at the top that shows all articles, and display of the active category when a category filter is applied to a listing.
Don't apply table td/th bottom border styles to gt tables.
Support for orcid_id
author metadata (displays next to author name).
Added rename_post_dir()
function for renaming post directories to reflect updated titles and publishing dates.
Ensure that date fields in RSS feeds and sitemaps use en_US.UTF-8
locale.
citation_conference_title
, citation_isbn
, citation_firstpage
, citation_lastpage
, citation_dissertation_institution
, citation_technical_report_institution
, and citation_technical_report_number
and their corresponding bibliography entries.\@ref{fig:plot1}
)import_post()
to work with file paths as well as URLscheck_license
from import_post()
to import_article()