@readme/markdown 6.62.1 → 6.62.3

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/dist/main.node.js CHANGED
@@ -9195,8 +9195,8 @@ if (true) {
9195
9195
  scala: ["clike", "text/x-scala"],
9196
9196
  scss: "css",
9197
9197
  sh: "shell",
9198
- sol: "clike",
9199
- solidity: "clike",
9198
+ sol: "solidity",
9199
+ solidity: "solidity",
9200
9200
  sql: ["sql", "text/x-sql"],
9201
9201
  sqlite: ["sql", "text/x-sqlite"],
9202
9202
  styl: "css",
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@readme/markdown",
3
3
  "description": "ReadMe's React-based Markdown parser",
4
4
  "author": "Rafe Goldberg <rafe@readme.io>",
5
- "version": "6.62.1",
5
+ "version": "6.62.3",
6
6
  "main": "dist/main.node.js",
7
7
  "browser": "dist/main.js",
8
8
  "files": [
@@ -27,7 +27,7 @@
27
27
  },
28
28
  "dependencies": {
29
29
  "@readme/emojis": "^5.0.0",
30
- "@readme/syntax-highlighter": "^12.1.0",
30
+ "@readme/syntax-highlighter": "^12.1.1",
31
31
  "copy-to-clipboard": "^3.3.2",
32
32
  "emoji-regex": "^10.2.1",
33
33
  "hast-util-sanitize": "^4.0.0",
package/styles/gfm.scss CHANGED
@@ -23,11 +23,11 @@
23
23
  float: left;
24
24
  line-height: 1;
25
25
  margin-left: -20px;
26
- padding-right: 4px
26
+ padding-right: 4px;
27
27
  }
28
28
 
29
29
  .anchor:focus {
30
- outline: 0
30
+ outline: 0;
31
31
  }
32
32
 
33
33
  h1:hover .anchor,
@@ -36,19 +36,19 @@
36
36
  h4:hover .anchor,
37
37
  h5:hover .anchor,
38
38
  h6:hover .anchor {
39
- text-decoration: none
39
+ text-decoration: none;
40
40
  }
41
41
 
42
42
  details {
43
- display: block
43
+ display: block;
44
44
  }
45
45
 
46
46
  summary {
47
- display: list-item
47
+ display: list-item;
48
48
  }
49
49
 
50
50
  a {
51
- transition: .15s ease;
51
+ transition: 0.15s ease;
52
52
 
53
53
  &:hover {
54
54
  text-decoration: underline;
@@ -57,22 +57,22 @@
57
57
 
58
58
  a:active,
59
59
  a:hover {
60
- outline-width: 0
60
+ outline-width: 0;
61
61
  }
62
62
 
63
63
  a:not([href]) {
64
64
  color: inherit;
65
- text-decoration: none
65
+ text-decoration: none;
66
66
  }
67
67
 
68
68
  strong {
69
69
  font-weight: inherit;
70
- font-weight: bolder
70
+ font-weight: bolder;
71
71
  }
72
72
 
73
73
  h1 {
74
74
  font-size: 2em;
75
- margin: .67em 0
75
+ margin: 0.67em 0;
76
76
  }
77
77
 
78
78
  hr {
@@ -91,34 +91,34 @@
91
91
 
92
92
  input {
93
93
  font: inherit;
94
- margin: 0
94
+ margin: 0;
95
95
  }
96
96
 
97
97
  input {
98
- overflow: visible
98
+ overflow: visible;
99
99
  }
100
100
 
101
- [type=checkbox] {
101
+ [type='checkbox'] {
102
102
  box-sizing: border-box;
103
- padding: 0
103
+ padding: 0;
104
104
  }
105
105
 
106
106
  * {
107
- box-sizing: border-box
107
+ box-sizing: border-box;
108
108
  }
109
109
 
110
110
  input {
111
111
  font-family: inherit;
112
112
  font-size: inherit;
113
- line-height: inherit
113
+ line-height: inherit;
114
114
  }
115
115
 
116
116
  strong {
117
- font-weight: 600
117
+ font-weight: 600;
118
118
  }
119
119
 
120
120
  details summary {
121
- cursor: pointer
121
+ cursor: pointer;
122
122
  }
123
123
 
124
124
  h1,
@@ -140,7 +140,7 @@
140
140
  font-size: 1.75em;
141
141
  font-size: var(--markdown-title-size, 1.75em);
142
142
  }
143
-
143
+
144
144
  h2 {
145
145
  font-size: 1.5em;
146
146
  font-size: var(--markdown-title-size, 1.5em);
@@ -179,62 +179,62 @@
179
179
  }
180
180
 
181
181
  h5 {
182
- font-size: .875em;
183
- font-size: var(--markdown-title-size, .875em);
182
+ font-size: 0.875em;
183
+ font-size: var(--markdown-title-size, 0.875em);
184
184
  }
185
185
 
186
186
  h6 {
187
- font-size: .85em;
188
- font-size: var(--markdown-title-size, .85em);
187
+ font-size: 0.85em;
188
+ font-size: var(--markdown-title-size, 0.85em);
189
189
  color: var(--markdown-title, #6a737d);
190
190
  }
191
191
 
192
192
  p,
193
193
  .p {
194
194
  margin-bottom: 10px;
195
- margin-top: 0
195
+ margin-top: 0;
196
196
  }
197
197
 
198
198
  blockquote {
199
- margin: 0
199
+ margin: 0;
200
200
  }
201
201
 
202
202
  ol,
203
203
  ul {
204
204
  margin-bottom: 0;
205
205
  margin-top: 0;
206
- padding-left: 0
206
+ padding-left: 0;
207
207
  }
208
208
 
209
209
  ol ol,
210
210
  ul ol {
211
- list-style-type: lower-roman
211
+ list-style-type: lower-roman;
212
212
  }
213
213
 
214
214
  ol ol ol,
215
215
  ol ul ol,
216
216
  ul ol ol,
217
217
  ul ul ol {
218
- list-style-type: lower-alpha
218
+ list-style-type: lower-alpha;
219
219
  }
220
220
 
221
221
  dd {
222
- margin-left: 0
222
+ margin-left: 0;
223
223
  }
224
224
 
225
225
  input::-webkit-inner-spin-button,
226
226
  input::-webkit-outer-spin-button {
227
227
  -webkit-appearance: none;
228
228
  appearance: none;
229
- margin: 0
229
+ margin: 0;
230
230
  }
231
231
 
232
- &> :first-child {
233
- margin-top: 0 !important
232
+ & > :first-child {
233
+ margin-top: 0 !important;
234
234
  }
235
235
 
236
- &>:last-child {
237
- margin-bottom: 0 !important
236
+ & > :last-child {
237
+ margin-bottom: 0 !important;
238
238
  }
239
239
 
240
240
  blockquote,
@@ -250,22 +250,22 @@
250
250
 
251
251
  blockquote {
252
252
  display: block;
253
- border-left: .25em solid #dfe2e5;
253
+ border-left: 0.25em solid #dfe2e5;
254
254
  color: #6a737d;
255
- padding: 0 1em
255
+ padding: 0 1em;
256
256
  }
257
257
 
258
- blockquote>:first-child {
259
- margin-top: 0
258
+ blockquote > :first-child {
259
+ margin-top: 0;
260
260
  }
261
261
 
262
- blockquote>:last-child {
263
- margin-bottom: 0
262
+ blockquote > :last-child {
263
+ margin-bottom: 0;
264
264
  }
265
265
 
266
266
  ol,
267
267
  ul {
268
- padding-left: 2em
268
+ padding-left: 2em;
269
269
  }
270
270
 
271
271
  ol ol,
@@ -273,23 +273,23 @@
273
273
  ul ol,
274
274
  ul ul {
275
275
  margin-bottom: 0;
276
- margin-top: 0
276
+ margin-top: 0;
277
277
  }
278
278
 
279
279
  li {
280
- word-wrap: break-all
280
+ word-wrap: break-all;
281
281
  }
282
282
 
283
- li>p {
284
- margin-top: 1em
283
+ li > p {
284
+ margin-top: 1em;
285
285
  }
286
286
 
287
- li+li {
288
- margin-top: .25em
287
+ li + li {
288
+ margin-top: 0.25em;
289
289
  }
290
290
 
291
291
  dl {
292
- padding: 0
292
+ padding: 0;
293
293
  }
294
294
 
295
295
  dl dt {
@@ -297,31 +297,31 @@
297
297
  font-style: italic;
298
298
  font-weight: 600;
299
299
  margin-top: 1em;
300
- padding: 0
300
+ padding: 0;
301
301
  }
302
302
 
303
303
  dl dd {
304
304
  margin-bottom: 1em;
305
- padding: 0 1em
305
+ padding: 0 1em;
306
306
  }
307
307
 
308
- :checked+.radio-label {
308
+ :checked + .radio-label {
309
309
  border-color: var(--project-color-primary);
310
310
  position: relative;
311
- z-index: 1
311
+ z-index: 1;
312
312
  }
313
313
 
314
314
  .task-list-item {
315
- list-style-type: none
315
+ list-style-type: none;
316
316
  }
317
317
 
318
- .task-list-item+.task-list-item {
319
- margin-top: 3px
318
+ .task-list-item + .task-list-item {
319
+ margin-top: 3px;
320
320
  }
321
321
 
322
322
  .task-list-item input {
323
- margin: 0 .2em .25em -1.6em;
324
- vertical-align: middle
323
+ margin: 0 0.2em 0.25em -1.6em;
324
+ vertical-align: middle;
325
325
  }
326
326
 
327
327
  p.blank-line {
@@ -332,35 +332,36 @@
332
332
  @mixin markdownOverrides {
333
333
  h5,
334
334
  h6 {
335
- font-size: .9em;
335
+ font-size: 0.9em;
336
336
  }
337
337
 
338
-
339
338
  blockquote h1:last-child,
340
339
  blockquote h2:last-child {
341
340
  border-bottom: 0;
342
341
  }
343
342
 
344
-
345
- >* {
343
+ > * {
346
344
  margin-top: 15px;
347
345
  margin-bottom: 15px !important;
348
346
  }
349
347
 
350
-
351
348
  .task-list-item input {
352
- margin: 0 .5em .25em -1.25em;
349
+ margin: 0 0.5em 0.25em -1.25em;
353
350
  }
354
351
 
355
- a[href], a:not([href=""]) {
356
- text-decoration: underline
352
+ a[href],
353
+ a:not([href='']) {
354
+ text-decoration: underline;
357
355
  }
358
356
  }
359
357
 
360
358
  @mixin _clearfix() {
361
- &:before, &:after {
362
- content: "";
359
+ &:before,
360
+ &:after {
361
+ content: '';
363
362
  display: table;
364
363
  }
365
- &:after { clear: both }
364
+ &:after {
365
+ clear: both;
366
+ }
366
367
  }