Questions tagged [blogdown]

blogdown is an R package for creating websites based on R Markdown and Hugo

The blogdown package is an open-source (GPL-3) R package to create blogs and websites based on R Markdown and the static site generator Hugo. The full documentation is at https://bookdown.org/yihui/blogdown.

526 questions
3
votes
1 answer

Remove max-width from hugo example

I've made a website using the academic theme of hugo; there's an example provided here. I want all of my posts (of which there are three examples provided at the link) to be wider. For example, a post initially looks like this: where the text is…
user795305
  • 133
  • 5
3
votes
1 answer

Is there a way to embed a bookdown document as a blogdown post?

I have created a tutorial using Bookdown (which I think is a great format for it), and am currently in the process of creating a website using Blogdown (hugo-academic theme). I would like to be able to add this tutorial to a tutorials page as a…
arnold-c
  • 337
  • 2
  • 13
3
votes
0 answers

R blogdown: Wrong blog title generated by RSS feed

I have succcessfuly created a blog using blogdown (see its github). Unfortunately, when this blogpost appears on another platform (such as R-bloggers) through the RSS feed, the "author" seems to be incorrectly displayed. Indeed, the "author" is…
Dominique Makowski
  • 1,511
  • 1
  • 13
  • 30
3
votes
1 answer

Section Hierarchy in Hugo

I'm trying to build a structure for permalinks in Hugo + blogdown where a post will have the permalink structure of websitename/category/slug Not sure how to do this because I've set the config.toml permalink structure to [permalinks] …
zad
  • 83
  • 7
3
votes
0 answers

How to load the same needed packages in multiple blogdown posts?

In some but not all posts of a blog made with blogdown I use highcharts to create interactive charts. For this, I need: Include the necessary highcharts javascript sources in the relevant posts Load the highcharter package (and also magrittr, as…
Jozef
  • 2,617
  • 14
  • 19
3
votes
1 answer

Different rendering between .Rmd and .Rmarkdown when using blogdown

I have found some strange differences in the way .Rmd files are rendered compared to .Rmarkdown. My setup: Beautiful hugo theme Blogdown 0.9 Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows >= 8 x64 (build 9200) If change the file…
3
votes
1 answer

Toggle chunk output using "details" HTML tag

I'm writing some tutorials using blogdown. For a pedagogical reason, I want my students to think before seeing the solution. Here's my current code. Original --- title: "Toggle Chuck Output Using details Tag" output: html_document --- ```{r calc,…
Kenji
  • 227
  • 1
  • 10
3
votes
1 answer

How to access a Rstudio blogdown website on local network?

Following the instructions at "blogdown: Creating Websites with R Markdown" https://bookdown.org/yihui/blogdown/, I used RStudio to create a blog and it is working with no problem on http://127.0.0.1:4321/. Thank you Yihui! Happy with my new…
Ben Cissé
  • 33
  • 3
3
votes
1 answer

Blogdown not showing plots when building site to the website

It seems I cannot display plots from the .rmd file when deploying through Netlify. By some reason, blogdown::serve_site()displays all the output correctly, but when publishing to website, it appears a ? sign when it should be each plot. According to…
phariza
  • 53
  • 5
3
votes
1 answer

r blogdown -- serve_site hangs in Windows

Please, I'd love some troubleshooting suggestions/tips... After editing a .md file in the content/post directory, I then blogdown:::serve_site(). At that point the site will build once, and the web server will serve the site. However, at the same…
3
votes
3 answers

blogdown deployment strategy

I am actually working on a stats/ML community website and I plan to use the blogdown package to ease the relationship between our main language (R) and web development. I read some posts regarding possible deployment strategies. The most popular one…
stecaron
  • 101
  • 3
3
votes
0 answers

Internal Hyperlinks

I have recently written a blog post using blogdown through RStudio, and I am trying to use internal hyperlinks within the post. Specifically, I am trying to link a 'string of text' to another 'string of text' in a different section of the script. …
3
votes
1 answer

Best way to render a single Rmd file using blogdown

We have a set of Rmd reports that live in a "knowledge repository" that we render via blogdown. We'd like to facilitate someone rendering a single report. Is there a best way to do this using blogdown? If not, what about adding a files argument to…
3
votes
1 answer

blogdown: Appending an html file into website

I'm using blogdown R package for website development. I want to add some already created html files. I wonder how can I achieve this? Thanks
MYaseen208
  • 22,666
  • 37
  • 165
  • 309
3
votes
1 answer

Change figure and table captions in blogdown

I'm tinkering with blogdown and would like to create figures and table with non-English caption headers. The following chunk ```{r label1, echo=FALSE, fig.cap="Fancy caption", fig.fullwidth=TRUE} plot(1,1) ``` produces the plot and a caption that…
ekstroem
  • 5,957
  • 3
  • 22
  • 48