diff options
| author | Eli Schwartz <eschwartz@archlinux.org> | 2022-06-26 00:33:00 -0400 |
|---|---|---|
| committer | Daniel Mensinger <daniel@mensinger-ka.de> | 2022-06-27 17:07:33 +0200 |
| commit | 0be3532456f79ef16022f8c253dc07c0e36b0803 (patch) | |
| tree | 28364f77114b115339263775606266e142b223a1 | |
| parent | ad0c70bac19e1ff6f4557c45ddf0fe5c87518481 (diff) | |
| download | meson-0be3532456f79ef16022f8c253dc07c0e36b0803.tar.gz | |
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.
| -rw-r--r-- | docs/markdown/Yaml-RefMan.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/markdown/Yaml-RefMan.md b/docs/markdown/Yaml-RefMan.md index b59e4e6a9..0e59bf51c 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]]) ]) ``` |
