Comments (8)
BTW, It works after I delete those auto-created .md
files manually.
from blogdown.
Please follow the issue guide when you open an issue. In particular, please provide a reproducible example instead of only saying something doesn't work, otherwise it's hard for us to help you. Thanks!
from blogdown.
Please create a rmarkdown file with the following codes, and put it in the content folder.
Thanks.
---
output: html_document
---
:::: {style="display: flex;"}
::: {}
Here is the **first** Div.
```{r}
str(iris)
```
:::
::: {}
And this block will be put on the right:
```{r}
plot(iris[, -5])
```
:::
::::
from blogdown.
There are many possible reasons why it doesn't work. Please provide a full example (ideally, a Github repo that I can clone).
from blogdown.
Please see the Github repo blogdown_multicolrmd. The first post doesn't worked as it should be. Thanks.
from blogdown.
Okay, that's much better.
The answer is that .Rmd
is rendered to .md
by default because of this option: https://github.com/ShichenXie/blogdown_multicolrmd/blob/main/.Rprofile#L19 However, Hugo's Markdown renderer (Goldmark) doesn't support fenced Divs (:::
). If you use fenced Divs, you have to use Pandoc to render them, in which case you have to render .Rmd
to .html
. To do that, you need to change the option to options(blogdown.method = 'html')
. Remember to restart R.
from blogdown.
Great! It works, thanks.
from blogdown.
Glad to know it works now!
BTW, It works after I delete those auto-created
.md
files manually.
This problem can be identified by blogdown::check_site()
.
from blogdown.
Related Issues (20)
- For error `could not find function "parser"`: fail more gracefully HOT 3
- Issue with site formatting with blogdown::build_site(). HOT 3
- Unable to serve site after updates HOT 6
- modelDown::modelDown() deleted all files in my output folder??!! HOT 1
- Home directory does not exist in HUGO academic-theme HOT 1
- Upkeep for blogdown
- Rmd files rendering with formatting issues HOT 7
- blogdown:::new_post_addin() should check for hugo first HOT 1
- Unable to create new posts HOT 2
- Missing website menu bar buttons when using blogdown to render web pages HOT 3
- Wrong relative links on the pkgdown site HOT 2
- allow use of hugo.toml for config [FR] HOT 3
- Error building site with hugo-apero theme HOT 5
- Build site with updated Hugo HOT 2
- shortcode doesn't display with leaflet map in the same post HOT 4
- Rmd - interactive map with tmap does not display HOT 5
- trialblogdown HOT 1
- Blogdown starting error and rmd render not working HOT 1
- unable to embed Rmd file in html output HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blogdown.