Skip to content
This repository was archived by the owner on Nov 20, 2025. It is now read-only.

Commit d6a6a81

Browse files
format the post
1 parent 6ec009c commit d6a6a81

File tree

1 file changed

+60
-70
lines changed

1 file changed

+60
-70
lines changed

examples/demo-section-blog/src/pages/posts/makdown.mdx

Lines changed: 60 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -11,42 +11,39 @@ author: Section Theme
1111
---
1212

1313
## Italic
14-
An example of *italic* text
15-
An example of *italic* text
14+
15+
An example of _italic_ text
16+
An example of _italic_ text
1617

1718
## Bold
19+
20+
An example of **bold text**
1821
An example of **bold text**
19-
An example of __bold text__
2022

2123
## Bold and Italic
22-
An example of ***bold and italic text***
23-
An example of ___bold and italic text___
24+
25+
An example of **_bold and italic text_**
26+
An example of **_bold and italic text_**
2427

2528
## Strike through
26-
An example of ~~Strike Through~~
2729

30+
An example of ~~Strike Through~~
2831

2932
## Blockquote
3033

31-
> Lorem ipsum dolor sit amet, consectetur adipiscing elit.
32-
33-
34-
> > Lorem ipsum dolor sit amet, consectetur adipiscing elit.
35-
34+
> Lorem ipsum dolor sit amet, consectetur adipiscing elit.
3635
3736
## Divider
3837

3938
---
4039

4140
<br />
4241

43-
44-
***
45-
42+
---
4643

4744
## Super script
48-
Superscript: X<sub>2</sub>Subscript: O<sup>2</sup>
4945

46+
Superscript: X<sub>2</sub>Subscript: O<sup>2</sup>
5047

5148
## Lists
5249

@@ -55,108 +52,101 @@ Superscript: X<sub>2</sub>Subscript: O<sup>2</sup>
5552
- Item A
5653
- Item B
5754
- Item C
58-
59-
#### Unordered list (*)
6055

61-
* Item A
62-
* Item B
63-
* Item C
56+
#### Unordered list (\*)
57+
58+
- Item A
59+
- Item B
60+
- Item C
6461

6562
#### Unordered list (plus sign and nested)
66-
67-
+ Item A
68-
+ Item B
69-
+ Item B 1
70-
+ Item B 2
71-
+ Item B 3
72-
+ Item C
73-
* Item C 1
74-
* Item C 2
75-
* Item C 3
63+
64+
- Item A
65+
- Item B
66+
- Item B 1
67+
- Item B 2
68+
- Item B 3
69+
- Item C
70+
- Item C 1
71+
- Item C 2
72+
- Item C 3
7673

7774
#### Ordered list
78-
75+
7976
1. Item A
8077
2. Item B
8178
3. Item C
82-
8379

8480
### Tables
8581

8682
First table
87-
88-
First Header | Second Header
89-
------------- | -------------
90-
Content Cell | Content Cell
91-
Content Cell | Content Cell
9283

84+
| First Header | Second Header |
85+
| ------------ | ------------- |
86+
| Content Cell | Content Cell |
87+
| Content Cell | Content Cell |
9388

9489
Second table
9590

96-
97-
| Function name | Description |
98-
| ------------- | ------------------------------ |
99-
| `help()` | Display the help window. |
100-
| `destroy()` | **Destroy your computer!** |
101-
91+
| Function name | Description |
92+
| ------------- | -------------------------- |
93+
| `help()` | Display the help window. |
94+
| `destroy()` | **Destroy your computer!** |
10295

10396
Third table
10497

105-
106-
| Item | Value |
107-
| --------- | -----:|
108-
| Computer | $1600 |
109-
| Phone | $12 |
110-
| Pipe | $1 |
111-
98+
| Item | Value |
99+
| -------- | ----: |
100+
| Computer | $1600 |
101+
| Phone | $12 |
102+
| Pipe | $1 |
112103

113104
Four table
114105

115-
116106
| Left-Aligned | Center Aligned | Right Aligned |
117-
| :------------ |:---------------:| -----:|
118-
| col 3 is | some wordy text | $1600 |
119-
| col 2 is | centered | $12 |
120-
| zebra stripes | are neat | $1 |
121-
122-
107+
| :------------ | :-------------: | ------------: |
108+
| col 3 is | some wordy text | $1600 |
109+
| col 2 is | centered | $12 |
110+
| zebra stripes | are neat | $1 |
123111

124112
### GFM task list
125113

126114
- [x] GFM task 1
127115
- [x] GFM task 2
128116
- [ ] GFM task 3
129-
- [ ] GFM task 3-1
130-
- [ ] GFM task 3-2
131-
- [ ] GFM task 3-3
117+
- [ ] GFM task 3-1
118+
- [ ] GFM task 3-2
119+
- [ ] GFM task 3-3
132120
- [ ] GFM task 4
133-
- [ ] GFM task 4-1
134-
- [ ] GFM task 4-2
121+
- [ ] GFM task 4-1
122+
- [ ] GFM task 4-2
135123

136124
## Links
137125

138126
[Google](https://google.com)
139127

140-
141128
[Facebook](https://facebook.com)
142129

143-
144130
## Inline code
131+
145132
Use `code` in your Markdown file.
146133

147134
## code
135+
148136
```javascript filename="JavaScript"
149-
import React from 'react';
150-
import ReactDOM from 'react-dom';
151-
137+
import React from "react";
138+
import ReactDOM from "react-dom";
139+
152140
// This is a functional component
153141
const Welcome = () => {
154-
return <h1>Hello World!</h1>
155-
}
142+
return <h1>Hello World!</h1>;
143+
};
156144
```
145+
157146
```js filename="example.js"
158-
console.log('hello, world')
147+
console.log("hello, world");
159148
```
149+
160150
## Images
161151

162152
![The San Juan Mountains are beautiful!](https://cdn.pixabay.com/photo/2017/02/01/22/02/mountain-landscape-2031539_1280.jpg "San Juan Mountains")

0 commit comments

Comments
 (0)