File tree Expand file tree Collapse file tree 2 files changed +88
-16
lines changed Expand file tree Collapse file tree 2 files changed +88
-16
lines changed Original file line number Diff line number Diff line change 5
5
##### h5
6
6
###### h6
7
7
8
+ > blockquoute
9
+
10
+ ~~ del~~ * italic* ** bold** ++inserted++
11
+ :accept : :smile : :+1 : :aquarius :
12
+
13
+ [ @hackmd/markdown-it ] ( https://www.npmjs.com/package/@hackmd/markdown-it )
14
+
8
15
---
9
16
10
17
+ ul
15
22
2 . ol
16
23
3 . ol
17
24
18
- :accept : :smile : :-1 :
25
+ | th | th | th |
26
+ | :---| :---:| ---:|
27
+ | left | center | right |
28
+ | xxxxxx| xxxxxx| xxxxxx|
19
29
20
30
::: success
21
31
success
37
47
a^2+b^2=c^2
38
48
$$
39
49
40
- ~~ del~~ * italic* ** bold** ++inserted++
41
-
42
- [ @hackmd/markdown-it ] ( https://www.npmjs.com/package/@hackmd/markdown-it )
43
-
44
50
``` c
45
51
#include < stdio.h>
46
52
int main (){
47
53
printf ("hello\n");
48
54
return 0;
49
55
}
56
+ ```
57
+
58
+ ``` c=
59
+ #include<stdio.h>
60
+ int main(){
61
+ printf("hello\n");
62
+ return 0;
63
+ }
50
64
```
Original file line number Diff line number Diff line change 6
6
< link rel ="stylesheet " href ="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.5.1/katex.min.css ">
7
7
< link rel ="stylesheet " href ="https://cdn.jsdelivr.net/github-markdown-css/2.2.1/github-markdown.css " />
8
8
< style >
9
+ : root {
10
+ --body-background : # f0f0f0 ;
11
+ }
12
+
9
13
body {
14
+ background-color : var (--body-background );
10
15
box-sizing : border-box;
11
16
margin : 0px ;
12
- padding : 0 px ;
17
+ padding : 10 px ;
13
18
font-family : "Helvetica Neue" , Helvetica, Arial, sans-serif;
14
19
font-size : 14px ;
15
20
line-height : 1.42857143 ;
16
21
color : # 333 ;
17
- background-color : # fff ;
18
22
}
19
23
20
24
ul ,
24
28
}
25
29
26
30
main {
27
- padding : 10px ;
31
+ background-color : # fff ;
32
+ box-sizing : border-box;
33
+ border-radius : 20px ;
34
+ margin : 0px auto;
28
35
max-width : 900px ;
36
+ padding : 10px ;
29
37
width : 100% ;
30
- margin : 0px auto;
31
38
}
32
39
33
40
a {
47
54
}
48
55
49
56
.success {
50
- color : # 3c763d ;
51
57
background-color : # dff0d8 ;
52
58
border-color : # d6e9c6 ;
59
+ color : # 3c763d ;
53
60
}
54
61
55
62
.info {
56
- color : # 31708f ;
57
63
background-color : # d9edf7 ;
58
64
border-color : # bce8f1 ;
65
+ color : # 31708f ;
59
66
}
60
67
61
68
.warning {
62
- color : # 8a6d3b ;
63
69
background-color : # fcf8e3 ;
64
- border-color : # faebcc
70
+ border-color : # faebcc ;
71
+ color : # 8a6d3b ;
65
72
}
66
73
67
74
.danger {
68
- color : # a94442 ;
69
75
background-color : # f2dede ;
70
76
border-color : # ebccd1 ;
77
+ color : # a94442 ;
71
78
}
72
79
73
80
.success ,
74
81
.info ,
75
82
.warning ,
76
83
.danger {
77
- padding : 15px ;
78
- margin-bottom : 20px ;
79
84
border : 1px solid transparent;
80
85
border-radius : 4px ;
86
+ margin-bottom : 20px ;
87
+ padding : 15px ;
88
+ }
89
+
90
+ img {
91
+ max-width : 100% ;
92
+ }
93
+
94
+ blockquote {
95
+ border-left : 0.25rem solid # ddd ;
96
+ color : # 777 ;
97
+ font-size : 1.14rem ;
98
+ margin : 0px ;
99
+ padding : 0 1rem ;
100
+ }
101
+
102
+ table {
103
+ border-spacing : 0 ;
104
+ border-collapse : collapse;
105
+ display : block;
106
+ margin-top : 0 ;
107
+ margin-bottom : 16px ;
108
+ overflow : auto;
109
+ width : 100% ;
110
+ word-break : keep-all;
111
+ }
112
+
113
+ table tr {
114
+ border-top : 1px solid # ddd ;
115
+ padding : 6px 13px ;
116
+ }
117
+
118
+ table th {
119
+ border : 1px solid # ddd ;
120
+ padding : 6px 13px ;
121
+ }
122
+
123
+ table td {
124
+ border : 1px solid # ddd ;
125
+ padding : 6px 13px ;
126
+ }
127
+
128
+ table tr : nth-child (2n) {
129
+ background-color : var (--body-background );
130
+ }
131
+
132
+ pre {
133
+ padding : 16px ;
134
+ overflow : auto;
135
+ font-size : 85% ;
136
+ line-height : 1.45 ;
137
+ background-color : var (--body-background );
138
+ border-radius : 3px ;
81
139
}
82
140
</ style >
83
141
</ head >
You can’t perform that action at this time.
0 commit comments