Richer markdown example in the playground (#4176)
* Richer markdown example in the playground * Link is backmaster
parent
31530259a1
commit
feb41a5516
|
@ -496,18 +496,31 @@ function getExample(parser) {
|
|||
].join("\n");
|
||||
case "markdown":
|
||||
return [
|
||||
"Header",
|
||||
"======",
|
||||
"",
|
||||
"_Look,_ code blocks are formatted *too!*",
|
||||
"",
|
||||
"``` js",
|
||||
"function identity(x) { return x }",
|
||||
"```",
|
||||
"",
|
||||
"Pilot|Airport|Hours",
|
||||
"--|:--:|--:",
|
||||
"John Doe|SKG|1338",
|
||||
"Jane Roe|JFK|314",
|
||||
"",
|
||||
"- - - - - - - - - - - - - - -",
|
||||
"",
|
||||
"+ List",
|
||||
" + with a [link] (/to/somewhere)",
|
||||
"+ and [another one]",
|
||||
"",
|
||||
"",
|
||||
" [another one]: http://example.com 'Example title'"
|
||||
" [another one]: http://example.com 'Example title'",
|
||||
"",
|
||||
"Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
|
||||
"Curabitur consectetur maximus risus, sed maximus tellus tincidunt et."
|
||||
].join("\n");
|
||||
case "vue":
|
||||
return [
|
||||
|
|
Loading…
Reference in New Issue