Markdown

Markdown playground

note: GitHub ha una sua versioen di MarkDown: https://github.github.com/gfm/

Headings 2

Text under Heading 2

Heading 3

Text under Heading 3

Heading 4

Text under Heading 4

Heading 5

Text under Heading 5

Emphasis

Emphasis, aka italics, with asterisks or underscores.
Strong emphasis, aka bold, with asterisks or underscores.
Combined emphasis with asterisks and underscores.
Strikethrough uses two tildes. Scratch this.
Highlights ==this part of text.== And keywords.

Emojis

🤣 🤣

nome del link

www.google.com
www.google.com with title
URLs and URLs in angle brackets will automatically get turned into links. http://www.example.com or http://www.example.com and sometimes example.com (but not on Github, for example).

This links to the Introduction

Code

We can highlight a single keyword or code blocks:

10 PRINT "generic code block"
20 GOTO 10
class myClasse {
}
here we can write code.  
or **strong** test

Definitions

Parola da definire
è una cosa che si fa e non si dice
Una seconda parola
qui definiamo un’altro termine

Lists

  1. elenco 1

  2. elenco 2

  3. First ordered list item

  4. Another item

  5. Another item

  6. Another item

    • Unordered sub-list.
    • Unordered sub-list.
    • Unordered sub-list.
  7. Actual numbers don’t matter, just that it’s a number

    1. Ordered sub-list
    2. Ordered sub-list
    3. Ordered sub-list
  8. the last item.

    You can have properly indented paragraphs within list items. Notice the blank line above, and the leading spaces (at least one, but we’ll use three here to also align the raw Markdown).

To have a line break without a paragraph, you will need to use two trailing spaces.
Note that this line is separate, but within the same paragraph.
(This is contrary to the typical GFM line break behaviour, where trailing spaces are not required.)

  • Unordered list can use asterisks
  • Or minuses
  • Or pluses

Images

Save your image (webp or webp format only) to img/ and insert it like this:

Figure 1 caption text

Tables

We can have nice tables.
Colons can be used to align columns.

colonnacolonna 2
valorecalore 2
TablesAreCool
col 3 isright-aligned$1600
col 2 iscentered$12
zebra stripesare neat$1

Table: Table captions are done like this.

There must be at least 3 dashes separating each header cell. The outer pipes (|) are optional, and you don’t need to make the raw Markdown line up prettily. You can also use inline Markdown.

MarkdownLessPretty
Stillrendersnicely
123

Blockquotes

Blockquotes are very handy in email to emulate reply text. This line is part of the same quote.

Quote break.

This is a very long line that will still be quoted properly when it wraps. Oh boy let’s keep writing to make sure this is long enough to actually wrap for everyone. Oh, you can put Markdown into a blockquote.

Maths

$$ y = -2.2x + 0.5 $$

$a+b= \frac{c}{c}$ $$a+b= \frac{c}{c}$$

$\lim{n \to \infty} x^{n+9}$ $$\lim{n \to \infty} x^{n+9}$$

$$\begin{aligned} a+b &= c
b &= c - a
1 &= \frac{b}{c-a}
\end{aligned}$$

Footnotes

Footnotes are best placed right after the paragraph first used.1

If you want to use endnotes instead turn them on in document options.

Comments

We can have comments in the text


  1. But you can also put them at the end of the document. ↩︎

Precedente
Prossimo