aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/Yaml-RefMan.md
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2022-06-26 00:33:00 -0400
committerDaniel Mensinger <daniel@mensinger-ka.de>2022-06-27 17:07:33 +0200
commit0be3532456f79ef16022f8c253dc07c0e36b0803 (patch)
tree28364f77114b115339263775606266e142b223a1 /docs/markdown/Yaml-RefMan.md
parentad0c70bac19e1ff6f4557c45ddf0fe5c87518481 (diff)
downloadmeson-0be3532456f79ef16022f8c253dc07c0e36b0803.zip
meson-0be3532456f79ef16022f8c253dc07c0e36b0803.tar.gz
meson-0be3532456f79ef16022f8c253dc07c0e36b0803.tar.bz2
docs: fix yaml refman example of embedding links in a code comment
With the previous commit, we made this smartly detect when parentheses are not needed. But the example was broken, because it doesn't follow its own documented rules to use `[[#` syntax. Add the missing hash character.
Diffstat (limited to 'docs/markdown/Yaml-RefMan.md')
-rw-r--r--docs/markdown/Yaml-RefMan.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/markdown/Yaml-RefMan.md b/docs/markdown/Yaml-RefMan.md
index b59e4e6..0e59bf5 100644
--- a/docs/markdown/Yaml-RefMan.md
+++ b/docs/markdown/Yaml-RefMan.md
@@ -48,7 +48,7 @@ Examples:
Now the same in a code block:
```meson
-[[#@str]] [[executable]]('main', [
+[[#@str]] [[#executable]]('main', [
'file_@0@.cpp'.format([[#meson.version]])
])
```