Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rmd files in blog #478

Open
sumit-satsangi opened this issue Dec 23, 2021 · 3 comments
Open

Rmd files in blog #478

sumit-satsangi opened this issue Dec 23, 2021 · 3 comments
Labels

Comments

@sumit-satsangi
Copy link

Question

Thank you for such an awesome theme and a detailed help section. I am fairly new to markdown and Hugo in general. I would like to create .Rmd pages for the blogs because I want to show the code output as well along with rich content. Is it possible to do that? If yes, would really appreciate if you can guide how.

@hossainemruz
Copy link
Member

Currently, Hugo does not support .rmd files. However, it seems there is a workaround by adding a shortcode. I will take a look.

@quantitative-technologies

I tried the workaround and so far it worked well. But you must render the rmarkdown files manually.

@quantitative-technologies
Copy link

quantitative-technologies commented Jun 7, 2022

Unfortunately, any shortcodes in the .rmd are rendered verbatim.

Is there a way to use multiple .md files for a single post? Then I could just knit the .rmd without using r2hugo.

Perhaps I should create a new issue for this question.

I have made an issue on r2hugo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Status: Todo
Development

No branches or pull requests

3 participants