Comments (4)
This is a bug of blogdown. Thanks for the report! I'll see what I can do.
A further minimized reprex is:
---
title: "Short code"
---
# A notice
{{< notice warning >}}
Test shortcode notice
{{< /notice >}}
# Shortcode hugo vimeo
{{< vimeo 55073825 >}}
# Raw HTML
```{=html}
<p>a</p>
```
It's the raw HTML block that caused the problem (HTML widgets like leaflet will generate raw HTML blocks).
from blogdown.
Actually you can also wrap the shortcode in a raw HTML block ```{=html}
, which should work with any version of blogdown, e.g.,
```{=html}
{{< vimeo 55073825 >}}
```
This requires extra typing but is a little safer (the shortcode will be preserved when the Markdown file is processed by Pandoc---the Pandoc processing could mangle certain characters in the shortcode).
from blogdown.
Should be fixed now. Thanks! You can install the development version via
remotes::install_github('rstudio/blogdown')
from blogdown.
I've try with development version and it's working. Thanks a lot !!
I had solved the problem with this encaption solution (your comment in another issue) :
r htmltools::HTML("{{< vimeo 55073825 >}}")
But it's better like that !
from blogdown.
Related Issues (20)
- lastest blogdown on CRAN (1.14) re-renders everything HOT 3
- Why are tabs replaced with spaces in code blocks HOT 8
- Cannot start new post HOT 1
- 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
- Blogdown donβt supports multiple-column rmarkdown HOT 8
- 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
- Rmd - interactive map with tmap does not display HOT 5
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.