diff --git a/readme/markdown.md b/readme/markdown.md index 5ea314d471..4af17c31fa 100644 --- a/readme/markdown.md +++ b/readme/markdown.md @@ -21,7 +21,7 @@ This is a quick summary of the Markdown syntax. | **Inline code** |
This is \`someJavaScript()\`
| This is `someJavaScript()` | **Code block** |
Here's some JavaScript code:

\`\`\`
function hello() {
alert('hello');
}
\`\`\`

Language is normally auto-detected,
but it can also be specified:

\`\`\`sql
SELECT * FROM users;
DELETE FROM sessions;
\`\`\`
| Here's some JavaScript code:

function hello() {
    alert('hello');
}

Language is normally auto-detected, but it can also be specified:

SELECT * FROM users;
DELETE FROM sessions;
| **Unformatted text** |
Indent with a tab or 4 spaces
for unformatted text.

This text will not be formatted:

Robert'); DROP TABLE students;--
| Indent with a tab or 4 spaces for unformatted text.

This text will not be formatted:

Robert'); DROP TABLE students;--
-| **Link** |
This is detected as a link:

`https://joplinapp.org`

And this is a link with a title:

`[Joplin](https://joplinapp.org)`
| This is detected as a link:

https://joplinapp.org

And this is a link with a title:

[Joplin](https://joplinapp.org) +| **Link** |
This is detected as a link:

`https://joplinapp.org`

And this is a link anchoring text content:

`[Joplin](https://joplinapp.org)`

And this is a link, with a title,
anchoring text content:

`[Joplin](https://joplinapp.org "Joplin project page")`
| This is detected as a link:

https://joplinapp.org

And this is a link anchoring text content:

[Joplin](https://joplinapp.org)

And this is a link, with a title,
anchoring text content:

[Joplin](https://joplinapp.org "Joplin project page") (_hint: hover over the link_) | **Images** |
`![Joplin icon](https://git.io/JenGk)`
| ![Here's Joplin icon](https://git.io/JenGk) | **Horizontal Rule** |
One rule:
\*\*\*
Another rule:
\-\-\-
| One rule:

Another rule:

| **Tables** | [See below](#tables) |