8000 Markdown tutorial examples · ssh-juan/github-foundations@457e0a6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 457e0a6

Browse files
committed
Markdown tutorial examples
1 parent 861645e commit 457e0a6

File tree

2 files changed

+90
-3
lines changed

2 files changed

+90
-3
lines changed

markdown/readme.md

Lines changed: 89 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,98 @@
1-
## Markdown Example
1+
# Markdown Example
22

3-
- headings-
4-
- ordered lists
3+
- [Ordered lists](#unordered-lists)
54
- unordered lists
65
- text formatting
76
- code
87
- tables
98
- links
9+
- blockquotes
1010
- images
1111
- autolists
1212
- lists
13+
14+
## Ordered Lists
15+
16+
1. foo
17+
1. bar
18+
3) baz
19+
3) baz
20+
3) baz
21+
22+
## Unordered Lists
23+
24+
We can create unordered lists in markdown using hyphens.
25+
26+
- foo
27+
- bar
28+
+ baz
29+
+ baz
30+
31+
## Text Formatting
32+
33+
*Italics*
34+
35+
**Bold**
36+
37+
__Bold__
38+
39+
~~strikethrough~~
40+
41+
## Code
42+
43+
### Inline Code
44+
45+
You can print to the terminal using the `puts "hello world"` command.
46+
47+
### Multi line Code
48+
49+
#### Without Highlighting
50+
```
51+
def hello_world
52+
puts "hello world"
53+
end
54+
```
55+
56+
#### With Highlighting
57+
```rb
58+
def hello_world
59+
puts "hello world"
60+
end
61+
```
62+
63+
## Tables
64+
65+
| foo | bar |
66+
| --- | --- |
67+
| baz | bim |
68+
69+
| abc | defghi |
70+
:-: ------------:
71+
bar | baz
72+
73+
| abc | def |
74+
| --- | --- |
75+
| bar |
76+
| bar | baz | boo |
77+
78+
| abc | def |
79+
| --- | --- |
80+
81+
## Blockquote
82+
83+
> "The cloud is amazing"
84+
85+
> # Foo
86+
> bar
87+
>baz
88+
89+
## Links
90+
91+
[GitHub Website](https://github.com)
92+
93+
[Secret Page](secret.md)
94+
95+
## Tasklist
96+
97+
- [x] Item 1
98+
- [x] Item 2

markdown/secret.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
** Secret Page **

0 commit comments

Comments
 (0)
0