Version: 4.2.1 Reporter: Rick Lecoat —
Using the standard Markdown syntax for ‘inline’ links (as opposed to ‘reference’-style links) works okay unless a title attribute is specified. Reference-style links work fine with or without the title attribute. So:
[Google link](http://google.com)
…outputs:
<a href="http://google.com">Google link</a>
and
[1]: http://google.com/ "visit Google"
[Google link][1]
…outputs:
<a href="http://google.com/" title="visit Google">Google link</a>
BUT…
[Google link](http://google.com "visit Google")
…outputs:
<a href="http://google.com">Google link</a>
You can see that the spaces and quotation marks between the end of the URL and the closing parenthesis have been wrongly turned into entities. I just tested this on a clean install and it still occurs. This is on EE 4.2.1 but I don’t know if the issue predates that version or not.
ExpressionEngine implements Markdown Extra and BBCode. Please see the Markdown Extra docs and the BBCode Wikipedia article for a full reference.
**bold**
, __bold__
, *italics*
, _italics_
, ~strike/del~
, `code()`
bold, italics, strike/del, code()
Link: [link title](https://example.com)
Image: ![alt text](https://example.com/image.jpg)
[blockquote]...[/blockquote]
, [quote]...[/quote]
, and Markdown style:
> Some quoted text. > > This is all one quote.
[code]...[/code]
, and you can also specify the language for syntax highlighting, [code=php]...[/code]
GitHub flavored Markdown code fences are also supported:
``` public function decoderRing($str) { return str_rot13($str); } ```