Merge pull request #831 from jrblevin/fix-830
[markdown-mode.git] / tests / inline.text
bloba16c35c05cbc73a1348c2681f37db43db35674ee
1 This is *italic.*
2 This is **bold.**
3 This is `code`.
4 This is ``code`containing`backticks``.
6 Seven backquotes in a row ``````` do not constitute a code span.
8 If backquotes begin or end a code span, you have to use spaces,
9 like `` `this` ``.  Markdown removes any leading and trailing
10 whitespace. Only the space a the end is necessary,
11 like ```this` ``.
13 A backslash as the final character in an inline code fragment does
14 *not* escape the backquote.  That is, `C-h C-\` will render as
16     <code>C-h C-\</code>
18 However, we can escape what would otherwise be a leading backquote,
19 as in \`foo\` or \`bar\`.
21 But this will be a code span crossing lines: \`foo` or
22 bar ` containing only "or bar".
24 This should result in three backquotes in a code span `` ``` `` and
25 they should even match across across lines `` ```
26 ``, like so.  However, backquotes should not `` ``` match
28 across two blocks``.
30 Links have several components: [text](http://www.w3.org/ "title").