diff options
author | albert-github <albert.tests@gmail.com> | 2018-10-02 10:59:19 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2018-10-02 10:59:19 (GMT) |
commit | dee50d6921e2f6fe2a0dd2e9b50fa51cd1fc4c60 (patch) | |
tree | a1ef95886c668a63c9639d7c1ecb8b1c963d8bc1 /doc | |
parent | d7d4d5c443887cc63211febe40d43f26dfe41bc0 (diff) | |
download | Doxygen-dee50d6921e2f6fe2a0dd2e9b50fa51cd1fc4c60.zip Doxygen-dee50d6921e2f6fe2a0dd2e9b50fa51cd1fc4c60.tar.gz Doxygen-dee50d6921e2f6fe2a0dd2e9b50fa51cd1fc4c60.tar.bz2 |
issue_6524: Markdown formats missing in doxygen outputs.
Support for strikethrough by means of `~~<text>~~`
See also https://help.github.com/articles/basic-writing-and-formatting-syntax/ paragraph about "styling" text".
Diffstat (limited to 'doc')
-rw-r--r-- | doc/markdown.doc | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/doc/markdown.doc b/doc/markdown.doc index 92612ca..eebcb40 100644 --- a/doc/markdown.doc +++ b/doc/markdown.doc @@ -173,7 +173,18 @@ Examples: * __double underscores__ See section \ref mddox_emph_spans for more info how doxygen handles -emphasis spans slightly different than standard Markdown. +emphasis / strikethrough spans slightly different than standard / Markdown GitHub Flavored Markdown. + +\subsection md_strikethrough Strikethrough + +To strikethrough a text fragment you start and end the fragment with two tildes. + +Examples: + +* ~~double tilde~~ + +See section \ref mddox_emph_spans for more info how doxygen handles +emphasis / strikethrough spans slightly different than standard Markdown / GitHub Flavored Markdown. \subsection md_codespan code spans @@ -567,22 +578,22 @@ For Item1 the indentation is 4 (when treating the list marker as whitespace), so the next paragraph "More text..." starts at the same indentation level and is therefore not seen as a code block. -\subsection mddox_emph_spans Emphasis limits +\subsection mddox_emph_spans Emphasis and strikethrough limits -Unlike standard Markdown, doxygen will not touch internal underscores or -stars, so the following will appear as-is: +Unlike standard Markdown and Github Flavored Markdown doxygen will not touch internal underscores or +stars or tildes, so the following will appear as-is: a_nice_identifier -Furthermore, a `*` or `_` only starts an emphasis if +Furthermore, a `*` or `_` only starts an emphasis and a `~` only starts a strikethrough if - it is followed by an alphanumerical character, and - it is preceded by a space, newline, or one the following characters `<{([,:;` -An emphasis ends if +An emphasis or a strikethrough ends if - it is not followed by an alphanumerical character, and - it is not preceded by a space, newline, or one the following characters `({[<=+-\@` -Lastly, the span of the emphasis is limited to a single paragraph. +Lastly, the span of the emphasis or strikethrough is limited to a single paragraph. \subsection mddox_code_spans Code Spans Limits |