Skip to content
New issue

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

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

Already on GitHub? # to your account

Shortcodes #608

Closed
ogansser opened this issue Apr 7, 2021 · 7 comments
Closed

Shortcodes #608

ogansser opened this issue Apr 7, 2021 · 7 comments
Labels
reprex needs a minimal reproducible example

Comments

@ogansser
Copy link

ogansser commented Apr 7, 2021

Hi, after updating to blogdown 1.2 my shortcodes des not work anymore.

In config.yaml:
enableInlineShortcodes: true

In Rmd:
{{< youtube ZJthWmvUzzc >}}

@ogansser ogansser added the bug an unexpected problem or unintended behavior label Apr 7, 2021
@yihui
Copy link
Member

yihui commented Apr 7, 2021

I can't reproduce your problem:

image

Could you provide a reproducible example as requested by the issue guide (which you deleted)?

@cderv cderv added reprex needs a minimal reproducible example and removed bug an unexpected problem or unintended behavior labels Apr 8, 2021
@ogansser
Copy link
Author

ogansser commented Apr 8, 2021

OK, may be it is the theme which I use.

@yihui
Copy link
Member

yihui commented Apr 8, 2021

If you can come up with a reprex with your theme, we can also investigate it.

@ogansser
Copy link
Author

ogansser commented Apr 9, 2021

Meanwhile I found out that the videos can only be included in md files via shortcode. But I have Rmd files.

With the new version blowdown 1.2 the posts as Rmd don't work anymore either. Doctype in the html file is missing. Thus the colour theme and the country code is not accepted.

@ogansser
Copy link
Author

ogansser commented Apr 9, 2021

If I go back to version 0.2 everything works fine.

@yihui
Copy link
Member

yihui commented Apr 9, 2021

If I go back to version 0.2 everything works fine.

Do you mean 0.2 (zero point two) or 0.20 (zero point twenty)?

Again, do you have a reprex anywhere? Without a reprex, it's really hard to tell what the problem is. In my above example, I was also using .Rmd and not .md, which worked fine.

@yihui
Copy link
Member

yihui commented Apr 12, 2021

Please see #610 (comment).

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
reprex needs a minimal reproducible example
Projects
None yet
Development

No branches or pull requests

3 participants