Opis dostępnych znaczników
Strona zawiera listę podstawowych znaczników, dostępnych dla użytkowników. Pełna lista zawiera więcej elementów, aby zapoznać się z pełną listą należy przejść na stronę John Gruber's Markdown Syntax.
Nagłówki
Dla głównych nagłówków (H1) należy użyć znaków 'równa się'. Dla mniej istotnych nagłówków (H2) należy użyć znaków 'myślnik'.
To jest nagłówek H1=============
|
To jest nagłówek H1 |
To jest nagłówek H2-------------
|
To jest nagłówek H2 |
Alternatywnym sposobem na oznaczenie nagłówków jest użycie znaku płotka (#).Ilość znaków (#) oznacza poziom nagłówka. Dla przykładu jeden płotek odpowiada nagłówkowi H1, nagłówek H2 możemy zapisać przez dwa płotki:
# To jest nagłówek H1
|
To jest nagłówek H1 |
## To jest nagłówek H2
|
To jest nagłówek H2 |
### To jest nagłówek H3
|
To jest nagłówek H3 |
Możesz wybrać sposób, który bardziej odpowiada Tobie.Tekst będzie wyglądał identycznie, będzie formatowany w taki sam sposób.
Paragrafy
Paragrafy są oddzielone od podrzędnego tekstu pustą linią.
To jest paragraf pierwszy.
To jest paragraf drugi.
Odnośniki
Aby dodać odnośnik do zewnętrznej strony należy użyć poniższych znaczników.
Pierwszy zawiera tytuł odnośnika, natomiast drugi określa adres URL strony, do której kieruje link.
[tekst odnośnika](http://example.com/)
|
tekst odnośnika |
Formatowanie
To indicate bold text surround the text with two star (*) symbols or two underscore (_) symbols:
**This is bold**
|
This is bold |
__This is also bold__
|
This is also bold |
To indicate italicized text surround the text with a single star (*) symbol or underscore (_) symbol:
*This is italics*
|
This is italics |
_This is also italics_
|
This is also italics |
To indicate italicized and bold text surround the text with three star (*) symbol or underscore (_) symbol:
***This is bold and italics***
|
This is bold and italics |
___This is also bold and italics___
|
This is also bold and italics |
Blockquotes
To create an indented area use the right angle bracket (>) character before each line to be included in the blockquote.
> This is part of a blockquote.> This is part of the same blockquote.
|
This is part of a blockquote. |
Rather than putting it in front of each line to include in the block quote you can put it at the beginning and end the quote with a newline.
> This is part of a blockquote.This continues the blockquote even though there's no bracket.The blank line ends the blockquote.
|
This is part of a blockquote. The blank line ends the blockquote. |
Lists
To create a numbered list in Markdown, prefix each item in the list with a number followed by a period and space. The number you use actually doesn't matter.
1. Item 12. Item 23. Item 3
|
|
To create a bulleted list, prefix each item in the list with a star (*) character.
* A list item* Another list item* A third list item
|
|
A Lot More
There's a lot more to the Markdown syntax than is mentioned here. But for creative writers, this covers a lot of the necessities. To find out more about Markdown than you'd ever want to really know, go to the Markdown page where it all started.