diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2019-12-23 12:40:24 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-23 12:40:24 (GMT) |
commit | 38337d6d42a0630b988728b89fd016bec5b46c1c (patch) | |
tree | b0a5c6ae91aead4902c0aa9004f32fe5f3ceefb3 /doc | |
parent | 7125e98bfb413bbede8d7568072b6006f17c6cbd (diff) | |
parent | d43815b2d1aed4fd10a918f18688c35995298677 (diff) | |
download | Doxygen-38337d6d42a0630b988728b89fd016bec5b46c1c.zip Doxygen-38337d6d42a0630b988728b89fd016bec5b46c1c.tar.gz Doxygen-38337d6d42a0630b988728b89fd016bec5b46c1c.tar.bz2 |
Merge pull request #7209 from albert-github/feature/bug_backtick_quote_md
Warning in case of usage of a single quote in a code span.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/markdown.doc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/markdown.doc b/doc/markdown.doc index 5edbaf9..883e831 100644 --- a/doc/markdown.doc +++ b/doc/markdown.doc @@ -193,10 +193,12 @@ code spans appear inline in a paragraph. An example: Use the `printf()` function. -To show a literal backtick inside a code span use double backticks, i.e. +To show a literal backtick or single quote inside a code span use double backticks, i.e. To assign the output of command `ls` to `var` use ``var=`ls```. + To assign the text 'text' to `var` use ``var='text'``. + See section \ref mddox_code_spans for more info how doxygen handles code spans slightly different than standard Markdown. @@ -606,6 +608,9 @@ In other words; a single quote cancels the special treatment of a code span wrapped in a pair of backtick characters. This extra restriction was added for backward compatibility reasons. +In case you want to have single quotes inside a code span, don't use +one backtick but two backticks around the code span. + \subsection mddox_lists Lists Extensions With Markdown two lists separated by an empty line are joined together into |