content: Fix relref shortcode examples

This commit is contained in:
MakoPhil
2025-05-13 09:37:25 +10:00
committed by GitHub
parent a699d267b6
commit ac4179f2b7
+4 -4
View File
@@ -30,13 +30,13 @@ The `relref` shortcode typically provides the destination for a Markdown link.
The following examples show the rendered output for a page on the English version of the site:
```md
[Link A]({{%/* ref "/books/book-1" */%}})
[Link A]({{%/* relref "/books/book-1" */%}})
[Link B]({{%/* ref path="/books/book-1" */%}})
[Link B]({{%/* relref path="/books/book-1" */%}})
[Link C]({{%/* ref path="/books/book-1" lang="de" */%}})
[Link C]({{%/* relref path="/books/book-1" lang="de" */%}})
[Link D]({{%/* ref path="/books/book-1" lang="de" outputFormat="json" */%}})
[Link D]({{%/* relref path="/books/book-1" lang="de" outputFormat="json" */%}})
```
Rendered: