summaryrefslogtreecommitdiff
path: root/content/posts/typography.md
blob: 9a7d074cb06583cd4b5c12bba66ef3eaf3c23298 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
+++
title = "Typography"
date = 2018-09-29T11:36:33+08:00
draft = false

[taxonomies]
tags = ["test", "original_post"]

[extra]
math = true
disable_comments = true
toc = true
+++

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.[^1]

> An apple is a sweet, edible fruit produced by an apple tree (Malus pumila). Apple trees are cultivated worldwide, and are the most widely grown species in the genus Malus. The tree originated in Central Asia, where its wild ancestor, Malus sieversii, is still found today. Apples have been grown for thousands of years in Asia and Europe, and were brought to North America by European colonists. Apples have religious and mythological significance in many cultures, including Norse, Greek and European Christian traditions.[^2]

---

Inline styles to test:

**strong**, *emphasis*, ***strong and emphasis***, `code`, ~~strikethrough~~, :shrug: :heart: :joy: :purple_heart:, $\LaTeX$, $x^2+y^2=1$, $\phi \space \pi \space \gamma$, [Link](https://example.com) or just do <https://example.com>, testing image:

![alt text for image](https://picsum.photos/600/400/?random)

![or try this][1]

---

# Heading 1 {#h1}

## Heading 2

### Heading 3

#### Heading 4 is as big as normal text but bold

##### Heading 5

###### Heading 6

Cute Table:

| Left-Aligned  | Center Aligned  | Right Aligned |
| :------------ | :-------------: | ------------: |
| col 3 is      | some wordy text |         $1600 |
| col 2 is      |    centered     |           $12 |
| zebra stripes |    are neat     |            $1 |

Lists:

* Unordered list item 1.
* Unordered list item 2.

Unordered with + - * and Ordered with 1. or 1)

1. ordered list item 1.
2. ordered list item 2.
   + sub-unordered list item 1.
   + sub-unordered list item 2.

Syntax Highlighting:

```javascript
const num1 = prompt("Enter first number");
const num2 = prompt("Enter second number");
const sum = parseInt(num1, 10) + parseInt(num2, 10); // "+" means "add"
alert("Sum = " + sum);  // "+" means combine into a string
```

[^1]: From [https://www.lipsum.com/](https://www.lipsum.com/)

[^2]: From [Apple](https://en.wikipedia.org/wiki/Apple)

[1]: https://commonmark.org/help/images/favicon.png "CommonMark Creative Commons License"