From 0be3532456f79ef16022f8c253dc07c0e36b0803 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Sun, 26 Jun 2022 00:33:00 -0400 Subject: 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. --- docs/markdown/Yaml-RefMan.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]]) ]) ``` -- cgit v1.1