markdown-pdf-export 0.0.0-stage → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/default.css ADDED
@@ -0,0 +1,230 @@
1
+ :root {
2
+ color-scheme: light;
3
+ font-family:
4
+ -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
5
+ font-size: 14px;
6
+ line-height: 1.6;
7
+ color: #24292e;
8
+ background: #ffffff;
9
+ }
10
+
11
+ html,
12
+ body {
13
+ margin: 0;
14
+ padding: 0;
15
+ background: #ffffff;
16
+ }
17
+
18
+ body {
19
+ padding: 0;
20
+ }
21
+
22
+ main {
23
+ max-width: 860px;
24
+ margin: 0 auto;
25
+ }
26
+
27
+ h1,
28
+ h2,
29
+ h3,
30
+ h4,
31
+ h5,
32
+ h6 {
33
+ font-weight: 600;
34
+ line-height: 1.25;
35
+ margin: 1.5em 0 0.5em;
36
+ color: #24292e;
37
+ }
38
+
39
+ h1 {
40
+ font-size: 2em;
41
+ font-weight: 600;
42
+ padding-bottom: 0.3em;
43
+ border-bottom: 1px solid #eaecef;
44
+ }
45
+
46
+ h2 {
47
+ font-size: 1.5em;
48
+ font-weight: 600;
49
+ padding-bottom: 0.3em;
50
+ border-bottom: 1px solid #eaecef;
51
+ }
52
+
53
+ h3 {
54
+ font-size: 1.25em;
55
+ }
56
+
57
+ h4 {
58
+ font-size: 1em;
59
+ }
60
+
61
+ h5 {
62
+ font-size: 0.875em;
63
+ }
64
+
65
+ h6 {
66
+ font-size: 0.85em;
67
+ color: #57606a;
68
+ }
69
+
70
+ p,
71
+ ul,
72
+ ol,
73
+ blockquote,
74
+ table,
75
+ pre {
76
+ margin: 0 0 1rem;
77
+ }
78
+
79
+ a {
80
+ color: #0969da;
81
+ text-decoration: none;
82
+ }
83
+
84
+ a:hover {
85
+ text-decoration: underline;
86
+ }
87
+
88
+ img {
89
+ max-width: 100%;
90
+ }
91
+
92
+ blockquote {
93
+ border-left: 4px solid #d0d7de;
94
+ color: #57606a;
95
+ margin-left: 0;
96
+ padding: 0 1em;
97
+ }
98
+
99
+ blockquote > :first-child {
100
+ margin-top: 0;
101
+ }
102
+
103
+ blockquote > :last-child {
104
+ margin-bottom: 0;
105
+ }
106
+
107
+ code,
108
+ pre,
109
+ kbd {
110
+ font-family:
111
+ ui-monospace,
112
+ SFMono-Regular,
113
+ SF Mono,
114
+ Menlo,
115
+ Consolas,
116
+ "Liberation Mono",
117
+ monospace;
118
+ font-size: 85%;
119
+ }
120
+
121
+ code {
122
+ background: rgba(175, 184, 193, 0.2);
123
+ border-radius: 4px;
124
+ padding: 0.2em 0.4em;
125
+ }
126
+
127
+ pre:not(.hljs) {
128
+ background: #f6f8fa;
129
+ border-radius: 6px;
130
+ padding: 1rem;
131
+ white-space: pre-wrap;
132
+ word-wrap: break-word;
133
+ overflow-wrap: break-word;
134
+ }
135
+
136
+ pre:not(.hljs) code {
137
+ background: transparent;
138
+ padding: 0;
139
+ font-size: 100%;
140
+ border-radius: 0;
141
+ }
142
+
143
+ pre.hljs {
144
+ background: #f6f8fa;
145
+ border-radius: 6px;
146
+ padding: 1rem;
147
+ white-space: pre-wrap;
148
+ word-wrap: break-word;
149
+ overflow-wrap: break-word;
150
+ }
151
+
152
+ pre.hljs code {
153
+ background: transparent;
154
+ padding: 0;
155
+ font-size: 100%;
156
+ border-radius: 0;
157
+ }
158
+
159
+
160
+ table {
161
+ border-collapse: collapse;
162
+ width: 100%;
163
+ }
164
+
165
+ th,
166
+ td {
167
+ border: 1px solid #d0d7de;
168
+ padding: 0.4rem 0.8rem;
169
+ text-align: left;
170
+ }
171
+
172
+ thead th {
173
+ background: #f6f8fa;
174
+ font-weight: 600;
175
+ }
176
+
177
+ tbody tr:nth-child(even) {
178
+ background: #f6f8fa;
179
+ }
180
+
181
+ hr {
182
+ border: 0;
183
+ border-top: 1px solid #d0d7de;
184
+ margin: 2rem 0;
185
+ }
186
+
187
+ li + li {
188
+ margin-top: 0.25em;
189
+ }
190
+
191
+ ul,
192
+ ol {
193
+ padding-left: 2em;
194
+ }
195
+
196
+ .page {
197
+ page-break-after: always;
198
+ }
199
+
200
+ /* Auto-generated table of contents (markdown-it-toc-done-right) */
201
+ .markdown-toc {
202
+ margin: 0 0 2em;
203
+ page-break-after: always;
204
+ }
205
+
206
+ .markdown-toc ul,
207
+ .markdown-toc ol {
208
+ list-style: none;
209
+ padding-left: 1.25em;
210
+ margin: 0;
211
+ }
212
+
213
+ .markdown-toc > ul,
214
+ .markdown-toc > ol {
215
+ padding-left: 0;
216
+ }
217
+
218
+ .markdown-toc li {
219
+ margin: 0.25em 0;
220
+ line-height: 1.4;
221
+ }
222
+
223
+ .markdown-toc a {
224
+ text-decoration: none;
225
+ color: inherit;
226
+ }
227
+
228
+ .markdown-toc a:hover {
229
+ text-decoration: underline;
230
+ }