From 71e1c96ec87f5677064997709c2a03bd62d8023f Mon Sep 17 00:00:00 2001 From: rodrigoalcarazdelaosa Date: Thu, 5 Jan 2023 18:13:13 +0100 Subject: [PATCH 1/2] Update index.md Update docs according to the latest changes documented [here](https://gohugo.io/content-management/shortcodes/#tweet). --- docs/en/content/writing-markdown-latex/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/content/writing-markdown-latex/index.md b/docs/en/content/writing-markdown-latex/index.md index 24e5377f1..c3de16935 100644 --- a/docs/en/content/writing-markdown-latex/index.md +++ b/docs/en/content/writing-markdown-latex/index.md @@ -315,9 +315,9 @@ I :heart: Wowchemy :smile: ### Embed a single tweet -To include a single tweet, pass the tweet’s ID from the tweet's URL as parameter to the shortcode: +To include a single tweet, pass the tweet’s user (case-insensitive) and ID from the URL as parameters to the shortcode: - {{}} + {{< tweet user="SanDiegoZoo" id="1453110110599868418" >}} ## Callouts From 4141daf5f03bcb57db828ea217ec48f14a1c53f8 Mon Sep 17 00:00:00 2001 From: rodrigoalcarazdelaosa Date: Thu, 5 Jan 2023 23:57:51 +0100 Subject: [PATCH 2/2] Update index.md Prevent Hugo from parsing the shortcode. --- docs/en/content/writing-markdown-latex/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/content/writing-markdown-latex/index.md b/docs/en/content/writing-markdown-latex/index.md index c3de16935..1f3f2c5bd 100644 --- a/docs/en/content/writing-markdown-latex/index.md +++ b/docs/en/content/writing-markdown-latex/index.md @@ -317,7 +317,7 @@ I :heart: Wowchemy :smile: To include a single tweet, pass the tweet’s user (case-insensitive) and ID from the URL as parameters to the shortcode: - {{< tweet user="SanDiegoZoo" id="1453110110599868418" >}} + {{}} ## Callouts