This is an automated email from the ASF dual-hosted git repository.
grobmeier pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/privacy-website.git
The following commit(s) were added to refs/heads/main by this push:
new fac1493 tried raw tag
fac1493 is described below
commit fac14937667ff8b7a9c07195e5af02cddca7cd38
Author: Christian Grobmeier <[email protected]>
AuthorDate: Fri Jul 26 23:07:38 2024 +0200
tried raw tag
---
guides/jekyll-youtube-plugin.md | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/guides/jekyll-youtube-plugin.md b/guides/jekyll-youtube-plugin.md
index cea4fc8..51d0870 100644
--- a/guides/jekyll-youtube-plugin.md
+++ b/guides/jekyll-youtube-plugin.md
@@ -37,10 +37,9 @@ Thanks to the ASF Infrastructure team, ASF sites are allowed
to use plugins
with Jekyll. Plugins make it easier to embed YouTube videos on your site.
A plugin is a Ruby script that extends Jekyll's functionality.
-The following plugin can be placed in side the ```_plugins``` directory of
your Jekyll site.
+The following plugin can be placed inside the ```_plugins``` directory of your
Jekyll site.
```ruby
-
module Jekyll
class YouTube < Liquid::Tag
def initialize(tag_name, text, tokens)
@@ -97,9 +96,11 @@ Liquid::Template.register_tag('youtube', Jekyll::YouTube)
To use the plugin, you can add the following code to your Markdown file:
+{% raw %}
```markdown
{% youtube Hpe7p24DQo0 /img/placeholder.jpg %}
```
+{% endraw %}
This will create a placeholder image that, when clicked, will load the YouTube
video with the ID `Hpe7p24DQo0`.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]