Markdown
Innehållsförteckning
Bakgrund och generell info
På i-portalen har vi gått över till att använda "Markdown" för formatering av text. Detta är för att då det tidigare varit möjligt att ange felaktig HTML i textrutor som sedan påverkat utseendet på hela sidan. Så för att undvika svårhittade problem som uppkom av detta har vi valt Markdown.
Markdown formatering på i-portalen
Rubriker | |
---|---|
# Detta är en rubrik | Detta är en rubrik |
Betoning | |
*This text will be italic* | This text will be italic |
_This will also be italic_ | This will also be italic |
**This text will be bold** | This text will be bold |
__This will also be bold__ | This will also be bold |
__You **can** combine them__ | You can combine them |
Listor | |
* Item 1 * Item 2 * Item 2a * Item 2b |
|
1. Item 1 2. Item 2 3. Item 3 * Item 3a * Item 3b |
|
Bilder | |
 |
|
Länkar | |
[I-portalen](https://www.i-portalen.se) | I-portalen |
Citat | |
> We're living the future so > the present is our past. |
We're living the future so the present is our past. |
Kod | |
``` x = 0 x = 2 + 2 what is x ``` |
x = 0 x = 2 + 2 what is x |