Markdown: Difference between revisions

From Wiki
(Leere Seite erstellt)
 
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Headers ==
<pre>
# This is an <h1> tag
## This is an <h2> tag
###### This is an <h6> tag
</pre>


== Emphasis ==
<pre>
*This text will be italic*
_This will also be italic_
**This text will be bold**
__This will also be bold__
*You **can** combine them*
</pre>
== Lists ==
<pre>
* Item 1
* Item 2
  * Item 2a
  * Item 2b
</pre>
<pre>
1. Item 1
2. Item 2
3. Item 3
  * Item 3a
  * Item 3b
</pre>
== Links ==
<pre>
[I'm an inline-style link](https://www.google.com)
[I'm a relative reference to a repository file](../blob/master/LICENSE)
</pre>
== Images ==
<pre>
Inline-style:
![alt text](https://url/image.png)
</pre>
== Code and Syntax Highlight ==
<pre>
Inline `code` has `back-ticks around` it.
</pre>
<pre>
```javascript
function test() {
console.log("look ma’, no spaces");
}
```
</pre>
== Tables ==
<pre>
First Header | Second Header
------------ | -------------
Content cell 1 | Content cell 2
Content column 1 | Content column 2
</pre>
== Blockquotes ==
<pre>
As Grace Hopper said:
> I’ve always been more interested
> in the future than in the past.
</pre>
[[Category:Programming]]

Latest revision as of 15:13, 28 September 2024

Headers

# This is an <h1> tag
## This is an <h2> tag
###### This is an <h6> tag

Emphasis

*This text will be italic*
_This will also be italic_
**This text will be bold**
__This will also be bold__
*You **can** combine them*

Lists

* Item 1
* Item 2
  * Item 2a
  * Item 2b
1. Item 1
2. Item 2
3. Item 3
   * Item 3a
   * Item 3b

Links

[I'm an inline-style link](https://www.google.com)
[I'm a relative reference to a repository file](../blob/master/LICENSE)

Images

Inline-style: 
![alt text](https://url/image.png)

Code and Syntax Highlight

Inline `code` has `back-ticks around` it.
```javascript
function test() {
console.log("look ma’, no spaces");
}
```

Tables

First Header | Second Header
------------ | -------------
Content cell 1 | Content cell 2
Content column 1 | Content column 2

Blockquotes

As Grace Hopper said:
> I’ve always been more interested
> in the future than in the past.