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:| 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;
\`\`\`
function hello() {
alert('hello');
}
SELECT * FROM users;| **Unformatted text** |
DELETE FROM sessions;
Indent with a tab or 4 spaces| Indent with a tab or 4 spaces for unformatted text.
for unformatted text.
This text will not be formatted:
Robert'); DROP TABLE students;--
This text will not be formatted:-| **Link** |
Robert'); DROP TABLE students;--
This is detected as a 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:| 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")`
`![Joplin icon](https://git.io/JenGk)`| ![Here's Joplin icon](https://git.io/JenGk) | **Horizontal Rule** |
One rule:| One rule:
\*\*\*
Another rule:
\-\-\-