@threepenny/md2pdf 2.7.0 → 2.8.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.
Files changed (44) hide show
  1. package/README.md +22 -8
  2. package/bin/md2pdf.js +60 -16
  3. package/lib/address-links.js +38 -0
  4. package/lib/attributions.js +69 -0
  5. package/lib/fit.js +50 -9
  6. package/lib/italic-lines.js +27 -0
  7. package/lib/render.js +6 -0
  8. package/lib/styles.js +2 -0
  9. package/package.json +1 -1
  10. package/styles/academic.css +14 -0
  11. package/styles/classic.css +15 -0
  12. package/styles/fiendish.css +671 -0
  13. package/styles/fonts/andika/Andika-Bold.woff2 +0 -0
  14. package/styles/fonts/andika/Andika-BoldItalic.woff2 +0 -0
  15. package/styles/fonts/andika/Andika-Italic.woff2 +0 -0
  16. package/styles/fonts/andika/Andika-Regular.woff2 +0 -0
  17. package/styles/fonts/andika/OFL.txt +94 -93
  18. package/styles/fonts/bodoni-moda/OFL.txt +93 -0
  19. package/styles/fonts/bodoni-moda/bodoni-moda-latin-900-normal.woff2 +0 -0
  20. package/styles/fonts/cinzel/OFL.txt +93 -0
  21. package/styles/fonts/cinzel/cinzel-latin-400-normal.woff2 +0 -0
  22. package/styles/fonts/cinzel/cinzel-latin-700-normal.woff2 +0 -0
  23. package/styles/fonts/courier-prime/OFL.txt +93 -0
  24. package/styles/fonts/courier-prime/courier-prime-latin-400-italic.woff2 +0 -0
  25. package/styles/fonts/courier-prime/courier-prime-latin-400-normal.woff2 +0 -0
  26. package/styles/fonts/courier-prime/courier-prime-latin-700-normal.woff2 +0 -0
  27. package/styles/fonts/libre-caslon-text/OFL.txt +93 -0
  28. package/styles/fonts/libre-caslon-text/libre-caslon-text-latin-400-italic.woff2 +0 -0
  29. package/styles/fonts/libre-caslon-text/libre-caslon-text-latin-400-normal.woff2 +0 -0
  30. package/styles/fonts/libre-caslon-text/libre-caslon-text-latin-700-normal.woff2 +0 -0
  31. package/styles/fonts/old-standard-tt/OFL.txt +93 -0
  32. package/styles/fonts/old-standard-tt/old-standard-tt-latin-400-italic.woff2 +0 -0
  33. package/styles/fonts/old-standard-tt/old-standard-tt-latin-400-normal.woff2 +0 -0
  34. package/styles/fonts/old-standard-tt/old-standard-tt-latin-700-normal.woff2 +0 -0
  35. package/styles/gothic.css +15 -0
  36. package/styles/newspaper.css +899 -0
  37. package/styles/print/fiendish.css +92 -0
  38. package/styles/print/newspaper.css +95 -0
  39. package/styles/sandwake.css +14 -0
  40. package/styles/worksheet.css +10 -8
  41. package/styles/fonts/andika/andika-latin-400-italic.woff2 +0 -0
  42. package/styles/fonts/andika/andika-latin-400-normal.woff2 +0 -0
  43. package/styles/fonts/andika/andika-latin-700-italic.woff2 +0 -0
  44. package/styles/fonts/andika/andika-latin-700-normal.woff2 +0 -0
@@ -0,0 +1,899 @@
1
+ /* Newspaper: the front page of a 1920s small-town daily. Black ink on white paper; the first heading
2
+ is the paper's nameplate in blackletter (Grenze Gotisch) and the paragraph after it the dateline
3
+ strip; each ## is a headline in heavy Bodoni Moda capitals, with an all-italic line straight after
4
+ it as its deck; Old Standard TT text runs justified, in two columns when printed (all bundled).
5
+ One-paragraph quotes are pull quotes, callouts boxed notices, code blocks telegrams in Courier Prime. Oxblood marks list
6
+ numbers, bullets, footnote numbers and the diamond in a rule. No page background: the paper stays
7
+ white up to its edges. */
8
+
9
+ /* Variables a page can override, on .markdown-body itself: for all its documents, or for one with
10
+ <article class="markdown-body" style="--md2pdf-font-size: 12pt">. A value set on :root or another
11
+ ancestor doesn't reach the document. :where() gives these defaults no specificity, so the page's
12
+ rule wins wherever it comes. Every style uses the same names. */
13
+ :where(.markdown-body) {
14
+ /* Size and spacing. --md2pdf-font-size is the body text size, an absolute length such as 10.5pt or
15
+ 14px, small as a newspaper's; headings and smaller text scale with it. --md2pdf-leading scales each
16
+ line height's excess over 1, and --md2pdf-space the vertical gaps between blocks; both are 1 as
17
+ designed. */
18
+ --md2pdf-font-size: 10.5pt;
19
+ --md2pdf-leading: 1;
20
+ --md2pdf-space: 1;
21
+ /* Colors: --md2pdf-background the paper; --md2pdf-text the ink: text, rules, boxes and tick boxes;
22
+ --md2pdf-muted secondary text: footnotes, h6 and the quote callout; --md2pdf-accent the second
23
+ ink: bullets, list and footnote numbers, the diamond in a rule and caution callouts;
24
+ --md2pdf-rule the light rules between table rows; --md2pdf-surface the tint behind inline code. */
25
+ --md2pdf-background: #fff;
26
+ --md2pdf-text: #1a1a18;
27
+ --md2pdf-muted: #55524c;
28
+ --md2pdf-accent: #7a1f1f;
29
+ --md2pdf-rule: #8c8880;
30
+ --md2pdf-surface: #f2efe8;
31
+ /* Fonts: --md2pdf-font body text, decks and small headings; --md2pdf-heading-font headlines, later
32
+ # headings and callout titles; --md2pdf-code-font code and keys. The nameplate keeps its
33
+ blackletter. */
34
+ --md2pdf-font: "md2pdf Old Standard TT", "Century Schoolbook", Georgia, serif;
35
+ --md2pdf-heading-font: "md2pdf Bodoni Moda", Didot, "Bodoni 72", Georgia, serif;
36
+ --md2pdf-code-font: "md2pdf Courier Prime", "Courier New", Courier, monospace;
37
+ }
38
+
39
+ /* Old Standard TT (Alexey Kryukov), Bodoni Moda (Owen Earl, indestructible type*), Courier Prime (Alan
40
+ Dague-Greene) and Grenze Gotisch (Omnibus-Type), all under the SIL Open Font License; the licences
41
+ are in fonts/<family>/OFL.txt. Their latin subsets cover English and Western European languages
42
+ (Basic Latin and Latin-1, plus œ and €); other letters come from the fallbacks. Bodoni Moda is a
43
+ static cut of the variable font at its 28pt optical size and weight 900, so its hairlines are as
44
+ fine as in the design; Chrome prints a variable font as an unhinted Type 3 font. Old Standard TT and
45
+ Courier Prime have no bold italic, so bold italic text is set in italic rather than smeared into a
46
+ fake bold. */
47
+ @font-face {
48
+ font-family: "md2pdf Old Standard TT";
49
+ font-weight: 400;
50
+ font-style: normal;
51
+ src: url("fonts/old-standard-tt/old-standard-tt-latin-400-normal.woff2") format("woff2");
52
+ }
53
+ @font-face {
54
+ font-family: "md2pdf Old Standard TT";
55
+ font-weight: 400;
56
+ font-style: italic;
57
+ src: url("fonts/old-standard-tt/old-standard-tt-latin-400-italic.woff2") format("woff2");
58
+ }
59
+ @font-face {
60
+ font-family: "md2pdf Old Standard TT";
61
+ font-weight: 700;
62
+ font-style: normal;
63
+ src: url("fonts/old-standard-tt/old-standard-tt-latin-700-normal.woff2") format("woff2");
64
+ }
65
+ @font-face {
66
+ font-family: "md2pdf Bodoni Moda";
67
+ font-weight: 900;
68
+ font-style: normal;
69
+ src: url("fonts/bodoni-moda/bodoni-moda-latin-900-normal.woff2") format("woff2");
70
+ }
71
+ @font-face {
72
+ font-family: "md2pdf Courier Prime";
73
+ font-weight: 400;
74
+ font-style: normal;
75
+ src: url("fonts/courier-prime/courier-prime-latin-400-normal.woff2") format("woff2");
76
+ }
77
+ @font-face {
78
+ font-family: "md2pdf Courier Prime";
79
+ font-weight: 400;
80
+ font-style: italic;
81
+ src: url("fonts/courier-prime/courier-prime-latin-400-italic.woff2") format("woff2");
82
+ }
83
+ @font-face {
84
+ font-family: "md2pdf Courier Prime";
85
+ font-weight: 700;
86
+ font-style: normal;
87
+ src: url("fonts/courier-prime/courier-prime-latin-700-normal.woff2") format("woff2");
88
+ }
89
+ @font-face {
90
+ font-family: "md2pdf Grenze Gotisch";
91
+ font-weight: 600;
92
+ font-style: normal;
93
+ src: url("fonts/grenze-gotisch/grenze-gotisch-latin-600-normal.woff2") format("woff2");
94
+ }
95
+
96
+ .markdown-body {
97
+ font-family: var(--md2pdf-font);
98
+ background: var(--md2pdf-background);
99
+ font-size: var(--md2pdf-font-size);
100
+ line-height: calc(1 + 0.42 * var(--md2pdf-leading));
101
+ color: var(--md2pdf-text);
102
+ /* A long web address wraps at the margin instead of making Chrome shrink the page to fit it. */
103
+ overflow-wrap: break-word;
104
+ /* Whether a long address may break anywhere, set beside each text-align: only in justified text. */
105
+ --md2pdf-address-break: normal;
106
+ font-kerning: normal;
107
+ font-synthesis-weight: none;
108
+ -webkit-print-color-adjust: exact;
109
+ print-color-adjust: exact;
110
+ }
111
+
112
+ .markdown-body p {
113
+ text-align: justify;
114
+ --md2pdf-address-break: break-all;
115
+ hyphens: auto;
116
+ orphans: 2;
117
+ widows: 2;
118
+ }
119
+ /* List items run ragged right, as in the design; only running text is justified. */
120
+ .markdown-body li,
121
+ .markdown-body li > p {
122
+ text-align: left;
123
+ --md2pdf-address-break: normal;
124
+ hyphens: auto;
125
+ }
126
+
127
+ .markdown-body p {
128
+ margin: 0 0 calc(8 / 14 * var(--md2pdf-font-size) * var(--md2pdf-space));
129
+ }
130
+ /* A story's later paragraphs are indented; its first, after a heading or anything else, isn't. */
131
+ .markdown-body p + p {
132
+ text-indent: calc(17 / 14 * var(--md2pdf-font-size));
133
+ }
134
+
135
+ /* Code keeps its case inside capitals and small capitals: the dateline, a headline, a story's
136
+ first line. */
137
+ .markdown-body :is(code, kbd) {
138
+ text-transform: none;
139
+ font-variant-caps: normal;
140
+ }
141
+
142
+ /* The nameplate: the document's first heading, in blackletter under a double rule. */
143
+
144
+ .markdown-body > h1:first-child {
145
+ margin: 0;
146
+ padding: calc(7 / 14 * var(--md2pdf-font-size)) 0 calc(6 / 14 * var(--md2pdf-font-size));
147
+ border-top: calc(6 / 14 * var(--md2pdf-font-size)) double var(--md2pdf-text);
148
+ font-family: "md2pdf Grenze Gotisch", "Old English Text MT", var(--md2pdf-font);
149
+ font-weight: 600;
150
+ font-size: calc(61 / 14 * var(--md2pdf-font-size));
151
+ line-height: calc(1 + 0.15 * var(--md2pdf-leading));
152
+ letter-spacing: 0;
153
+ text-transform: none;
154
+ text-wrap: balance;
155
+ }
156
+ /* The dateline: the paragraph straight after it, in spaced capitals between two rules. With no
157
+ such paragraph, the nameplate carries the lower rule itself. */
158
+ .markdown-body > h1:first-child:not(:has(+ p)) {
159
+ border-bottom: 1px solid var(--md2pdf-text);
160
+ }
161
+ .markdown-body > h1:first-child + p {
162
+ margin: 0;
163
+ padding: calc(5 / 14 * var(--md2pdf-font-size)) 0 calc(4 / 14 * var(--md2pdf-font-size));
164
+ border-top: 1px solid var(--md2pdf-text);
165
+ border-bottom: 1px solid var(--md2pdf-text);
166
+ font-size: calc(11 / 14 * var(--md2pdf-font-size));
167
+ letter-spacing: 0.1em;
168
+ text-transform: uppercase;
169
+ text-align: center;
170
+ --md2pdf-address-break: normal;
171
+ text-indent: 0;
172
+ hyphens: manual;
173
+ }
174
+
175
+ /* Headings */
176
+
177
+ .markdown-body h1,
178
+ .markdown-body h2,
179
+ .markdown-body h3,
180
+ .markdown-body h4,
181
+ .markdown-body h5,
182
+ .markdown-body h6 {
183
+ line-height: calc(1 + 0.3 * var(--md2pdf-leading));
184
+ break-after: avoid;
185
+ text-align: center;
186
+ --md2pdf-address-break: normal;
187
+ }
188
+
189
+ /* Headlines: ## and any # after the nameplate, in heavy Bodoni capitals across the page. */
190
+ .markdown-body h1,
191
+ .markdown-body h2 {
192
+ font-family: var(--md2pdf-heading-font);
193
+ font-weight: 900;
194
+ text-transform: uppercase;
195
+ text-wrap: balance;
196
+ }
197
+ .markdown-body h1 {
198
+ font-size: calc(34 / 14 * var(--md2pdf-font-size));
199
+ line-height: calc(1 + 0.1 * var(--md2pdf-leading));
200
+ margin: calc(22 / 14 * var(--md2pdf-font-size) * var(--md2pdf-space)) 0 calc(14 / 14 * var(--md2pdf-font-size) * var(--md2pdf-space));
201
+ padding-top: calc(6 / 14 * var(--md2pdf-font-size));
202
+ border-top: calc(4 / 14 * var(--md2pdf-font-size)) double var(--md2pdf-text);
203
+ }
204
+ .markdown-body h2 {
205
+ /* Its closing rule is a block inside it; without this a page can break between them. */
206
+ break-inside: avoid;
207
+ font-size: calc(28 / 14 * var(--md2pdf-font-size));
208
+ line-height: calc(1 + 0.12 * var(--md2pdf-leading));
209
+ letter-spacing: 0.01em;
210
+ margin: calc(26 / 14 * var(--md2pdf-font-size) * var(--md2pdf-space)) 0 calc(16 / 14 * var(--md2pdf-font-size) * var(--md2pdf-space));
211
+ }
212
+ /* The deck: an all-italic line straight after a headline or a later # (`*Third disappearance since
213
+ August*`), which the renderer marks, set larger and centred under it. A ### is always a section
214
+ head. */
215
+ .markdown-body > h2 + .markdown-italic-line,
216
+ .markdown-body > h1:not(:first-child) + .markdown-italic-line {
217
+ break-inside: avoid;
218
+ break-after: avoid;
219
+ text-align: center;
220
+ --md2pdf-address-break: normal;
221
+ text-indent: 0;
222
+ hyphens: manual;
223
+ margin: calc(-4 / 14 * var(--md2pdf-font-size) * var(--md2pdf-space)) 8% calc(16 / 14 * var(--md2pdf-font-size) * var(--md2pdf-space));
224
+ font-size: calc(17 / 14 * var(--md2pdf-font-size));
225
+ font-weight: 400;
226
+ font-style: italic;
227
+ line-height: calc(1 + 0.3 * var(--md2pdf-leading));
228
+ letter-spacing: 0;
229
+ text-transform: none;
230
+ text-wrap: balance;
231
+ }
232
+ /* A short rule closes a ## headline, or the deck under a ## or a later #. */
233
+ .markdown-body h2::after,
234
+ .markdown-body > h2 + .markdown-italic-line::after,
235
+ .markdown-body > h1:not(:first-child) + .markdown-italic-line::after {
236
+ content: "";
237
+ display: block;
238
+ width: calc(70 / 14 * var(--md2pdf-font-size));
239
+ margin: calc(10 / 14 * var(--md2pdf-font-size) * var(--md2pdf-space)) auto 0;
240
+ border-top: 1px solid var(--md2pdf-text);
241
+ }
242
+ .markdown-body > h2:has(+ .markdown-italic-line)::after {
243
+ content: none;
244
+ }
245
+ /* Section heads inside a story: small spaced capitals. */
246
+ .markdown-body h3,
247
+ .markdown-body h4 {
248
+ font-family: var(--md2pdf-font);
249
+ font-weight: 700;
250
+ text-transform: uppercase;
251
+ }
252
+ .markdown-body h3 {
253
+ font-size: calc(12 / 14 * var(--md2pdf-font-size));
254
+ letter-spacing: 0.12em;
255
+ margin: calc(16 / 14 * var(--md2pdf-font-size) * var(--md2pdf-space)) 0 calc(8 / 14 * var(--md2pdf-font-size) * var(--md2pdf-space));
256
+ }
257
+ .markdown-body h4 {
258
+ font-size: calc(11 / 14 * var(--md2pdf-font-size));
259
+ letter-spacing: 0.1em;
260
+ text-align: left;
261
+ --md2pdf-address-break: normal;
262
+ margin: calc(14 / 14 * var(--md2pdf-font-size) * var(--md2pdf-space)) 0 calc(6 / 14 * var(--md2pdf-font-size) * var(--md2pdf-space));
263
+ }
264
+ .markdown-body h5,
265
+ .markdown-body h6 {
266
+ font-size: var(--md2pdf-font-size);
267
+ font-weight: 400;
268
+ font-style: italic;
269
+ text-align: left;
270
+ --md2pdf-address-break: normal;
271
+ margin: calc(12 / 14 * var(--md2pdf-font-size) * var(--md2pdf-space)) 0 calc(4 / 14 * var(--md2pdf-font-size) * var(--md2pdf-space));
272
+ }
273
+ .markdown-body h6 {
274
+ color: var(--md2pdf-muted);
275
+ }
276
+
277
+ /* Headings inside a quote, callout or list stay inside it: smaller, with no rules of their own. */
278
+ .markdown-body :is(blockquote, .markdown-alert, li) :is(h1, h2) {
279
+ margin: calc(10 / 14 * var(--md2pdf-font-size) * var(--md2pdf-space)) 0 calc(6 / 14 * var(--md2pdf-font-size) * var(--md2pdf-space));
280
+ padding: 0;
281
+ border: 0;
282
+ font-size: calc(17 / 14 * var(--md2pdf-font-size));
283
+ font-family: var(--md2pdf-heading-font);
284
+ font-weight: 900;
285
+ font-style: normal;
286
+ letter-spacing: 0.02em;
287
+ text-transform: uppercase;
288
+ }
289
+ .markdown-body :is(blockquote, .markdown-alert, li) h2::after {
290
+ content: none;
291
+ }
292
+ .markdown-body :is(blockquote, .markdown-alert) > :first-child {
293
+ margin-top: 0;
294
+ }
295
+
296
+ /* A story's first line, after the dateline, a headline or its deck, runs in spaced small capitals:
297
+ capitals through text-transform would be lost in Safari, which ignores it on a first line. */
298
+ .markdown-body > h1:first-child + p + p::first-line,
299
+ .markdown-body > h1:not(:first-child) + p:not(.markdown-italic-line)::first-line,
300
+ .markdown-body > h2 + p:not(.markdown-italic-line)::first-line,
301
+ .markdown-body > h2 + .markdown-italic-line + p::first-line,
302
+ .markdown-body > h1:not(:first-child) + .markdown-italic-line + p::first-line {
303
+ font-variant-caps: all-small-caps;
304
+ letter-spacing: 0.06em;
305
+ }
306
+ .markdown-body > h1:first-child + p + p,
307
+ .markdown-body > h1:not(:first-child) + p,
308
+ .markdown-body > h2 + p,
309
+ .markdown-body > h2 + .markdown-italic-line + p,
310
+ .markdown-body > h1:not(:first-child) + .markdown-italic-line + p {
311
+ text-indent: 0;
312
+ }
313
+
314
+ /* Links: ink, underlined. */
315
+
316
+ .markdown-body a {
317
+ /* An address hyphenated at a line end would be copied from the paper with the hyphen. */
318
+ hyphens: manual;
319
+ color: inherit;
320
+ text-decoration: underline;
321
+ text-decoration-thickness: 1px;
322
+ text-underline-offset: 0.15em;
323
+ }
324
+ .markdown-body a.header-anchor {
325
+ display: none;
326
+ }
327
+ /* A long address in justified text may break anywhere, without a hyphen, so it starts on the line where it
328
+ falls rather than dropping whole and leaving wide gaps in the line before (#150). */
329
+ .markdown-body a.markdown-address {
330
+ word-break: var(--md2pdf-address-break);
331
+ }
332
+ /* An address keeps its own case, which a web address's path needs, where the paper sets capitals: the
333
+ dateline, a headline or section head, a callout's title, a quote's attribution, a story's small-capitals
334
+ first line (#163). The renderer doesn't mark one in a table, so a heading row still prints it in capitals. */
335
+ .markdown-body a.markdown-address {
336
+ text-transform: none;
337
+ font-variant-caps: normal;
338
+ letter-spacing: normal;
339
+ }
340
+
341
+ .markdown-body strong,
342
+ .markdown-body b {
343
+ font-weight: 700;
344
+ }
345
+ /* The fonts have no bold italic, so bold inside italic text (a pull quote, a deck) stands upright. */
346
+ .markdown-body :is(blockquote, em, i) :is(strong, b),
347
+ .markdown-body > h2 + .markdown-italic-line :is(strong, b),
348
+ .markdown-body > h1:not(:first-child) + .markdown-italic-line :is(strong, b) {
349
+ font-style: normal;
350
+ }
351
+ /* Headlines and callout titles are already heavier than bold, and Bodoni Moda has no italic: italic
352
+ there would be the browser slanting the roman. */
353
+ .markdown-body :is(h1, h2, .markdown-alert-title) :is(strong, b) {
354
+ font-weight: inherit;
355
+ }
356
+ .markdown-body :is(h1, h2, .markdown-alert-title) :is(em, i) {
357
+ font-style: normal;
358
+ }
359
+ /* Code in a headline moves to the next line whole rather than wrapping after a hyphen, and wraps
360
+ inside its box only when it's wider than the line. */
361
+ .markdown-body :is(h1, h2) code {
362
+ display: inline-block;
363
+ max-width: 100%;
364
+ overflow-wrap: anywhere;
365
+ /* The headline's balanced wrapping would break a command at a hyphen rather than a space. */
366
+ text-wrap: wrap;
367
+ }
368
+ /* An inline box doesn't take its link's underline, so it draws the link's own. */
369
+ .markdown-body :is(h1, h2) a code {
370
+ text-decoration: underline;
371
+ text-decoration-thickness: 1px;
372
+ text-underline-offset: 0.15em;
373
+ }
374
+
375
+ /* Lists: oxblood square bullets and bold numbers. */
376
+
377
+ .markdown-body ul,
378
+ .markdown-body ol {
379
+ margin: 0 0 calc(8 / 14 * var(--md2pdf-font-size) * var(--md2pdf-space));
380
+ padding-left: 1.5em;
381
+ }
382
+ .markdown-body ul {
383
+ list-style-type: square;
384
+ }
385
+ .markdown-body ul ul {
386
+ list-style-type: circle;
387
+ }
388
+ .markdown-body li {
389
+ margin: calc(2 / 14 * var(--md2pdf-font-size) * var(--md2pdf-space)) 0;
390
+ }
391
+ .markdown-body li > ul,
392
+ .markdown-body li > ol {
393
+ margin: calc(2 / 14 * var(--md2pdf-font-size) * var(--md2pdf-space)) 0 0;
394
+ }
395
+ .markdown-body li::marker {
396
+ color: var(--md2pdf-accent);
397
+ font-weight: 700;
398
+ }
399
+ .markdown-body .task-list-item {
400
+ list-style-type: none;
401
+ }
402
+ /* Boxes drawn here at the browser's size: its own are greyed out, as they're disabled. */
403
+ .markdown-body .task-list-item input {
404
+ appearance: none;
405
+ width: 13px;
406
+ height: 13px;
407
+ margin: 0 0.5em 0.2em -1.5em;
408
+ vertical-align: middle;
409
+ border: 1px solid var(--md2pdf-text);
410
+ border-radius: 0;
411
+ background: var(--md2pdf-background);
412
+ }
413
+ .markdown-body .task-list-item input:checked {
414
+ background: var(--md2pdf-text) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.2l3 2.8 5.5-6' fill='none' stroke='%23fff' stroke-width='2.2'/%3E%3C/svg%3E") center / 100% no-repeat;
415
+ }
416
+
417
+ /* Quotes: pull quotes, centred italic between a heavy rule and a light one. */
418
+
419
+ .markdown-body blockquote {
420
+ margin: calc(6 / 14 * var(--md2pdf-font-size) * var(--md2pdf-space)) 0 calc(14 / 14 * var(--md2pdf-font-size) * var(--md2pdf-space));
421
+ padding: calc(9 / 14 * var(--md2pdf-font-size)) calc(6 / 14 * var(--md2pdf-font-size)) calc(8 / 14 * var(--md2pdf-font-size));
422
+ border-top: 2px solid var(--md2pdf-text);
423
+ border-bottom: 1px solid var(--md2pdf-text);
424
+ font-size: calc(16.5 / 14 * var(--md2pdf-font-size));
425
+ line-height: calc(1 + 0.3 * var(--md2pdf-leading));
426
+ font-style: italic;
427
+ text-align: center;
428
+ --md2pdf-address-break: normal;
429
+ break-inside: avoid;
430
+ }
431
+ .markdown-body blockquote :is(p, li) {
432
+ text-align: center;
433
+ --md2pdf-address-break: normal;
434
+ text-indent: 0;
435
+ hyphens: manual;
436
+ text-wrap: balance;
437
+ }
438
+ .markdown-body blockquote > :last-child {
439
+ margin-bottom: 0;
440
+ }
441
+ .markdown-body blockquote :is(ul, ol) {
442
+ display: inline-block;
443
+ text-align: left;
444
+ --md2pdf-address-break: normal;
445
+ }
446
+ .markdown-body blockquote :is(ul, ol) li {
447
+ text-align: left;
448
+ --md2pdf-address-break: normal;
449
+ }
450
+ /* A pull quote's attribution (`— The Treasurer` as its last line, or after a blank `>` line) is set like
451
+ the dateline. */
452
+ .markdown-body blockquote > .markdown-attribution:nth-child(2):last-child,
453
+ .markdown-body blockquote > p:only-child > .markdown-attribution {
454
+ font-size: calc(11 / 14 * var(--md2pdf-font-size));
455
+ font-style: normal;
456
+ letter-spacing: 0.1em;
457
+ text-transform: uppercase;
458
+ }
459
+ /* As the quote's last line it's a span in the quote's paragraph, set where its own paragraph would be. */
460
+ .markdown-body blockquote > p:only-child > .markdown-attribution {
461
+ display: block;
462
+ margin-top: calc(8 / 14 * var(--md2pdf-font-size) * var(--md2pdf-space));
463
+ }
464
+ /* A quote of more than one block, such as a letter or a statement, reads as text rather than a pull
465
+ quote: body size, roman and justified between the same rules, and free to break across columns. A
466
+ quote of one block and its attribution stays a pull quote. */
467
+ .markdown-body blockquote:has(> :nth-child(2):not(:where(.markdown-attribution:last-child))) {
468
+ font-size: var(--md2pdf-font-size);
469
+ line-height: calc(1 + 0.42 * var(--md2pdf-leading));
470
+ font-style: normal;
471
+ text-align: justify;
472
+ --md2pdf-address-break: break-all;
473
+ break-inside: auto;
474
+ }
475
+ .markdown-body blockquote:has(> :nth-child(2):not(:where(.markdown-attribution:last-child))) p {
476
+ text-align: justify;
477
+ --md2pdf-address-break: break-all;
478
+ hyphens: auto;
479
+ text-wrap: wrap;
480
+ }
481
+ .markdown-body blockquote:has(> :nth-child(2):not(:where(.markdown-attribution:last-child))) p + p {
482
+ text-indent: calc(17 / 14 * var(--md2pdf-font-size));
483
+ }
484
+ .markdown-body blockquote:has(> :nth-child(2):not(:where(.markdown-attribution:last-child))) :is(ul, ol) {
485
+ display: block;
486
+ }
487
+ /* Only the rules mark it, so its text lines up with the column's. */
488
+ .markdown-body blockquote:has(> :nth-child(2):not(:where(.markdown-attribution:last-child))) {
489
+ padding-left: 0;
490
+ padding-right: 0;
491
+ }
492
+ /* It may break between paragraphs, but a line that introduces a table, list or code stays with it. */
493
+ .markdown-body blockquote:has(> :nth-child(2):not(:where(.markdown-attribution:last-child))) > :has(+ table),
494
+ .markdown-body blockquote:has(> :nth-child(2):not(:where(.markdown-attribution:last-child))) > :has(+ ul),
495
+ .markdown-body blockquote:has(> :nth-child(2):not(:where(.markdown-attribution:last-child))) > :has(+ ol),
496
+ .markdown-body blockquote:has(> :nth-child(2):not(:where(.markdown-attribution:last-child))) > :has(+ pre) {
497
+ break-after: avoid;
498
+ }
499
+ .markdown-body blockquote table {
500
+ break-inside: avoid;
501
+ }
502
+
503
+ /* Callouts (GitHub alerts and Obsidian callouts): boxed notices in a double rule, titled in Bodoni
504
+ capitals. Notes are ink, tips green, important notices navy, warnings brown, cautions the second
505
+ ink and quotes grey. */
506
+
507
+ .markdown-body .markdown-alert {
508
+ --md2pdf-callout: var(--md2pdf-text);
509
+ margin: calc(6 / 14 * var(--md2pdf-font-size) * var(--md2pdf-space)) 0 calc(12 / 14 * var(--md2pdf-font-size) * var(--md2pdf-space));
510
+ padding: calc(8 / 14 * var(--md2pdf-font-size)) calc(11 / 14 * var(--md2pdf-font-size)) calc(9 / 14 * var(--md2pdf-font-size));
511
+ border: 3px double var(--md2pdf-callout);
512
+ break-inside: avoid;
513
+ }
514
+ .markdown-body .markdown-alert-tip {
515
+ --md2pdf-callout: #2f4a2f;
516
+ }
517
+ .markdown-body .markdown-alert-important {
518
+ --md2pdf-callout: #1f3a5f;
519
+ }
520
+ .markdown-body .markdown-alert-warning {
521
+ --md2pdf-callout: #6b4a12;
522
+ }
523
+ .markdown-body .markdown-alert-caution {
524
+ --md2pdf-callout: var(--md2pdf-accent);
525
+ }
526
+ .markdown-body .markdown-alert-quote {
527
+ --md2pdf-callout: var(--md2pdf-muted);
528
+ }
529
+ .markdown-body .markdown-alert-title {
530
+ margin-bottom: calc(4 / 14 * var(--md2pdf-font-size) * var(--md2pdf-space));
531
+ color: var(--md2pdf-callout);
532
+ font-family: var(--md2pdf-heading-font);
533
+ font-weight: 900;
534
+ font-size: calc(15 / 14 * var(--md2pdf-font-size));
535
+ line-height: calc(1 + 0.3 * var(--md2pdf-leading));
536
+ letter-spacing: 0.08em;
537
+ text-transform: uppercase;
538
+ text-align: center;
539
+ --md2pdf-address-break: normal;
540
+ text-indent: 0;
541
+ hyphens: manual;
542
+ }
543
+ .markdown-body .markdown-alert-title .octicon {
544
+ display: none;
545
+ }
546
+ .markdown-body .markdown-alert > p + p {
547
+ text-indent: 0;
548
+ }
549
+ .markdown-body .markdown-alert > :last-child {
550
+ margin-bottom: 0;
551
+ }
552
+
553
+ /* Code: inline code and keys in Courier Prime; code blocks are telegrams, boxed under a "By wire"
554
+ strip. */
555
+
556
+ .markdown-body code,
557
+ .markdown-body kbd {
558
+ font-family: var(--md2pdf-code-font);
559
+ hyphens: manual;
560
+ font-size: 0.93em;
561
+ }
562
+ .markdown-body :not(pre) > code {
563
+ background: var(--md2pdf-surface);
564
+ padding: 0.05em 0.25em;
565
+ }
566
+ .markdown-body kbd {
567
+ padding: 0 0.3em;
568
+ border: 1px solid var(--md2pdf-text);
569
+ background: var(--md2pdf-background);
570
+ }
571
+ .markdown-body pre {
572
+ margin: calc(6 / 14 * var(--md2pdf-font-size) * var(--md2pdf-space)) 0 calc(14 / 14 * var(--md2pdf-font-size) * var(--md2pdf-space));
573
+ padding: 0;
574
+ border: 1px solid var(--md2pdf-text);
575
+ background: var(--md2pdf-background);
576
+ white-space: pre-wrap;
577
+ word-break: break-word;
578
+ break-inside: avoid;
579
+ }
580
+ .markdown-body pre::before {
581
+ content: "By wire";
582
+ display: block;
583
+ padding: calc(4 / 14 * var(--md2pdf-font-size)) 0 calc(3 / 14 * var(--md2pdf-font-size));
584
+ border-bottom: 1px solid var(--md2pdf-text);
585
+ font-family: var(--md2pdf-font);
586
+ font-weight: 700;
587
+ font-size: calc(11 / 14 * var(--md2pdf-font-size));
588
+ line-height: calc(1 + 0.42 * var(--md2pdf-leading));
589
+ letter-spacing: 0.3em;
590
+ text-transform: uppercase;
591
+ text-align: center;
592
+ }
593
+ .markdown-body pre > code,
594
+ .markdown-body pre > code.hljs {
595
+ display: block;
596
+ padding: calc(10 / 14 * var(--md2pdf-font-size)) calc(16 / 14 * var(--md2pdf-font-size)) calc(11 / 14 * var(--md2pdf-font-size));
597
+ font-size: calc(13 / 14 * var(--md2pdf-font-size));
598
+ line-height: calc(1 + 0.5 * var(--md2pdf-leading));
599
+ }
600
+ /* A highlight.js theme on the host page styles .hljs too; keep code blocks this style's own. */
601
+ .markdown-body pre code.hljs {
602
+ overflow: visible;
603
+ color: inherit;
604
+ background: none;
605
+ }
606
+ /* And its tokens: this outranks a theme's token rules, and this style's colors come after it. */
607
+ .markdown-body [class*="hljs-"] {
608
+ color: inherit;
609
+ background: none;
610
+ font-style: inherit;
611
+ font-weight: inherit;
612
+ text-decoration: none;
613
+ }
614
+
615
+ /* Two inks and a brown: keywords in oxblood, strings and numbers brown, comments grey italic. */
616
+ .markdown-body .hljs-comment,
617
+ .markdown-body .hljs-quote {
618
+ color: #55524c;
619
+ font-style: italic;
620
+ }
621
+ .markdown-body .hljs-keyword,
622
+ .markdown-body .hljs-selector-tag,
623
+ .markdown-body .hljs-literal,
624
+ .markdown-body .hljs-doctag,
625
+ .markdown-body .hljs-meta,
626
+ .markdown-body .hljs-deletion {
627
+ color: #7a1f1f;
628
+ }
629
+ .markdown-body .hljs-string,
630
+ .markdown-body .hljs-regexp,
631
+ .markdown-body .hljs-addition,
632
+ .markdown-body .hljs-number,
633
+ .markdown-body .hljs-symbol,
634
+ .markdown-body .hljs-bullet {
635
+ color: #6b4a12;
636
+ }
637
+ .markdown-body .hljs-title,
638
+ .markdown-body .hljs-section,
639
+ .markdown-body .hljs-name,
640
+ .markdown-body .hljs-built_in,
641
+ .markdown-body .hljs-type {
642
+ font-weight: 700;
643
+ }
644
+ .markdown-body .hljs-emphasis {
645
+ font-style: italic;
646
+ }
647
+ .markdown-body .hljs-strong {
648
+ font-weight: bold;
649
+ }
650
+
651
+ /* Tables: across the page, a heavy rule above, light rules between the rows, spaced capitals in the
652
+ heading row. */
653
+
654
+ .markdown-body table {
655
+ width: 100%;
656
+ border-collapse: collapse;
657
+ margin: calc(10 / 14 * var(--md2pdf-font-size) * var(--md2pdf-space)) 0 calc(16 / 14 * var(--md2pdf-font-size) * var(--md2pdf-space));
658
+ border-top: 2px solid var(--md2pdf-text);
659
+ border-bottom: 1px solid var(--md2pdf-text);
660
+ font-size: calc(13 / 14 * var(--md2pdf-font-size));
661
+ line-height: calc(1 + 0.35 * var(--md2pdf-leading));
662
+ }
663
+ .markdown-body th,
664
+ .markdown-body td {
665
+ padding: calc(4 / 14 * var(--md2pdf-font-size)) calc(9 / 14 * var(--md2pdf-font-size));
666
+ text-align: left;
667
+ --md2pdf-address-break: normal;
668
+ hyphens: manual;
669
+ }
670
+ .markdown-body :is(th, td):first-child {
671
+ padding-left: calc(3 / 14 * var(--md2pdf-font-size));
672
+ }
673
+ .markdown-body td {
674
+ border-top: 1px solid var(--md2pdf-rule);
675
+ }
676
+ .markdown-body th {
677
+ padding-top: calc(6 / 14 * var(--md2pdf-font-size));
678
+ padding-bottom: calc(5 / 14 * var(--md2pdf-font-size));
679
+ border-bottom: 1px solid var(--md2pdf-text);
680
+ font-size: calc(11 / 14 * var(--md2pdf-font-size));
681
+ font-weight: 700;
682
+ letter-spacing: 0.1em;
683
+ text-transform: uppercase;
684
+ }
685
+ .markdown-body tr {
686
+ break-inside: avoid;
687
+ }
688
+
689
+ /* Rules: an oxblood diamond between two short ink rules. */
690
+
691
+ .markdown-body hr {
692
+ display: flex;
693
+ align-items: center;
694
+ justify-content: center;
695
+ height: 1em;
696
+ margin: calc(20 / 14 * var(--md2pdf-font-size) * var(--md2pdf-space)) 0;
697
+ border: 0;
698
+ background:
699
+ linear-gradient(var(--md2pdf-text), var(--md2pdf-text)) calc(50% - 4.4em) 50% / 7.1em 1px no-repeat,
700
+ linear-gradient(var(--md2pdf-text), var(--md2pdf-text)) calc(50% + 4.4em) 50% / 7.1em 1px no-repeat;
701
+ break-inside: avoid;
702
+ }
703
+ .markdown-body hr::after {
704
+ content: "";
705
+ width: 0.43em;
706
+ height: 0.43em;
707
+ transform: rotate(45deg);
708
+ background: var(--md2pdf-accent);
709
+ }
710
+
711
+ .markdown-body img {
712
+ display: block;
713
+ max-width: 100%;
714
+ margin: calc(8 / 14 * var(--md2pdf-font-size) * var(--md2pdf-space)) auto;
715
+ break-inside: avoid;
716
+ }
717
+
718
+ /* Footnotes: after the last story, across both columns under a rule, numbered in bold oxblood. */
719
+
720
+ .markdown-body hr.footnotes-sep {
721
+ display: none;
722
+ }
723
+ .markdown-body .footnotes {
724
+ margin-top: calc(24 / 14 * var(--md2pdf-font-size) * var(--md2pdf-space));
725
+ padding-top: calc(8 / 14 * var(--md2pdf-font-size));
726
+ border-top: 1px solid var(--md2pdf-text);
727
+ font-size: calc(12 / 14 * var(--md2pdf-font-size));
728
+ color: var(--md2pdf-muted);
729
+ }
730
+ .markdown-body .footnotes ol {
731
+ list-style-type: decimal;
732
+ /* Room for two-digit numbers, which Safari sets further left than Chrome. */
733
+ padding-left: 2.4em;
734
+ }
735
+ .markdown-body .footnotes :is(li, p) {
736
+ text-align: left;
737
+ --md2pdf-address-break: normal;
738
+ hyphens: manual;
739
+ }
740
+ .markdown-body .footnotes li p + p {
741
+ text-indent: 0;
742
+ }
743
+ .markdown-body .footnote-ref a {
744
+ font-weight: 700;
745
+ text-decoration: none;
746
+ }
747
+ .markdown-body .footnote-backref {
748
+ text-decoration: none;
749
+ }
750
+
751
+ /* A word joiner keeps a footnote mark on the line with the word before it. */
752
+ .markdown-body .footnote-ref::before {
753
+ content: "\2060";
754
+ }
755
+
756
+ /* An Obsidian embed (![[Other note]]) that can't be shown: a muted placeholder. */
757
+ .markdown-body .markdown-embed {
758
+ color: var(--md2pdf-muted);
759
+ font-style: italic;
760
+ }
761
+
762
+ /* <div class="page-break"></div> starts a new page. */
763
+ .markdown-body .page-break {
764
+ break-after: page;
765
+ }
766
+
767
+ /* Printed, the text runs in two columns, or one on paper too narrow for two. The nameplate, the
768
+ dateline, headlines and their decks, telegrams, tables, rules and the footnotes run across both.
769
+ On screen it stays one column: two would have to be read down the whole story and back up. */
770
+ :where(.markdown-body) {
771
+ /* The printed columns, declared outside the print rules for the script that fits tables, which runs
772
+ before they're on: it leaves in its column a block whose tables fit one. To print other columns,
773
+ set these, not columns itself. */
774
+ --md2pdf-print-columns: 14em 2;
775
+ --md2pdf-print-column-gap: calc(28 / 14 * var(--md2pdf-font-size));
776
+ }
777
+ @media print {
778
+ .markdown-body {
779
+ columns: var(--md2pdf-print-columns);
780
+ column-gap: var(--md2pdf-print-column-gap);
781
+ }
782
+ .markdown-body > :is(h1, h1:first-child + p, h2, h2 + .markdown-italic-line, h1 + .markdown-italic-line, pre, table, hr, .footnotes, .page-break) {
783
+ column-span: all;
784
+ }
785
+ /* A table is fitted to the page's width, not a column's, so a list, quote, callout or collapsed
786
+ section that holds one runs across both columns with it, unless the fitting script has marked it:
787
+ every table in it fits a column as it is. Where that script doesn't run, each one runs across. */
788
+ .markdown-body > :has(table):not([data-md2pdf-in-column]) {
789
+ column-span: all;
790
+ }
791
+ /* Chrome ignores break-after: page on a block that spans the columns, and on one inside them, but
792
+ not break-before: page on one that spans them. A break at the very end adds no blank page. */
793
+ .markdown-body > .page-break:not(:last-child) {
794
+ break-before: page;
795
+ break-after: auto;
796
+ }
797
+ /* Chrome ignores break-after: avoid on a headline that spans the columns, and can leave it alone at
798
+ the foot of a page. Each headline and deck keeps room for three lines of its story below its own
799
+ gap and gives that room back with a negative margin, so one that would end a page moves to the
800
+ next. Text and boxes after it drop their top margin, which would otherwise add to the gap. */
801
+ .markdown-body > h2,
802
+ .markdown-body > h1:not(:first-child),
803
+ .markdown-body > h2 + .markdown-italic-line,
804
+ .markdown-body > h1:not(:first-child) + .markdown-italic-line {
805
+ break-inside: avoid;
806
+ padding-bottom: calc(16 / 14 * var(--md2pdf-font-size) * var(--md2pdf-space) + 3 * (1 + 0.42 * var(--md2pdf-leading)) * var(--md2pdf-font-size));
807
+ margin-bottom: calc(-1 * 3 * (1 + 0.42 * var(--md2pdf-leading)) * var(--md2pdf-font-size));
808
+ }
809
+ .markdown-body > h1:not(:first-child) {
810
+ padding-bottom: calc(14 / 14 * var(--md2pdf-font-size) * var(--md2pdf-space) + 3 * (1 + 0.42 * var(--md2pdf-leading)) * var(--md2pdf-font-size));
811
+ }
812
+ /* Before a deck, 4 less: the gap the deck's negative top margin leaves on screen. */
813
+ .markdown-body > h2:has(+ .markdown-italic-line) {
814
+ padding-bottom: calc(12 / 14 * var(--md2pdf-font-size) * var(--md2pdf-space) + 3 * (1 + 0.42 * var(--md2pdf-leading)) * var(--md2pdf-font-size));
815
+ }
816
+ .markdown-body > h1:not(:first-child):has(+ .markdown-italic-line) {
817
+ padding-bottom: calc(10 / 14 * var(--md2pdf-font-size) * var(--md2pdf-space) + 3 * (1 + 0.42 * var(--md2pdf-leading)) * var(--md2pdf-font-size));
818
+ }
819
+ .markdown-body > h2 + :not(.markdown-italic-line, h1, h2, hr),
820
+ .markdown-body > h1:not(:first-child) + :not(.markdown-italic-line, h1, h2, hr),
821
+ .markdown-body > h2 + .markdown-italic-line + :not(h1, h2, hr),
822
+ .markdown-body > h1:not(:first-child) + .markdown-italic-line + :not(h1, h2, hr) {
823
+ margin-top: 0;
824
+ }
825
+ /* A page may break before a headline, whatever comes before it: a section head, another headline
826
+ or a deck (a story with no text). Otherwise Chrome, finding no break it's allowed, splits the
827
+ headline from its rule. */
828
+ .markdown-body > :has(+ h1),
829
+ .markdown-body > :has(+ h2),
830
+ .markdown-body > h2 + .markdown-italic-line:has(+ h1),
831
+ .markdown-body > h2 + .markdown-italic-line:has(+ h2),
832
+ .markdown-body > h1:not(:first-child) + .markdown-italic-line:has(+ h1),
833
+ .markdown-body > h1:not(:first-child) + .markdown-italic-line:has(+ h2) {
834
+ break-after: auto;
835
+ }
836
+ /* A headline or rule after one keeps its own larger top margin: what it adds to the gap above. */
837
+ .markdown-body > h2 + h2,
838
+ .markdown-body > h2 + .markdown-italic-line + h2,
839
+ .markdown-body > h1:not(:first-child) + .markdown-italic-line + h2 {
840
+ margin-top: calc(10 / 14 * var(--md2pdf-font-size) * var(--md2pdf-space));
841
+ }
842
+ .markdown-body > h1:not(:first-child) + h2 {
843
+ margin-top: calc(12 / 14 * var(--md2pdf-font-size) * var(--md2pdf-space));
844
+ }
845
+ .markdown-body > h2 + h1,
846
+ .markdown-body > h2 + .markdown-italic-line + h1,
847
+ .markdown-body > h1:not(:first-child) + .markdown-italic-line + h1 {
848
+ margin-top: calc(6 / 14 * var(--md2pdf-font-size) * var(--md2pdf-space));
849
+ }
850
+ .markdown-body > h1:not(:first-child) + h1 {
851
+ margin-top: calc(8 / 14 * var(--md2pdf-font-size) * var(--md2pdf-space));
852
+ }
853
+ .markdown-body > h2 + hr,
854
+ .markdown-body > h2 + .markdown-italic-line + hr,
855
+ .markdown-body > h1:not(:first-child) + .markdown-italic-line + hr {
856
+ margin-top: calc(4 / 14 * var(--md2pdf-font-size) * var(--md2pdf-space));
857
+ }
858
+ .markdown-body > h1:not(:first-child) + hr {
859
+ margin-top: calc(6 / 14 * var(--md2pdf-font-size) * var(--md2pdf-space));
860
+ }
861
+ /* Chrome clips the last pixel of a box that spans the columns, so a telegram would lose its right
862
+ border. */
863
+ .markdown-body > pre {
864
+ margin-right: 1px;
865
+ }
866
+ /* Chrome can't slice an image between columns: one taller than a column runs off the foot of the
867
+ page and prints over the top of the next. So an image is scaled to fit a column; printed, 100vh
868
+ is the height of the page's text area, and the 2em leaves room for the foot of a quote or list
869
+ around it. An image with a width of its own keeps that width, and its shape inside it. */
870
+ .markdown-body img {
871
+ max-height: calc(100vh - 2em);
872
+ object-fit: contain;
873
+ }
874
+ /* A PDF's links back from a footnote lead nowhere useful. */
875
+ .markdown-body .footnote-backref {
876
+ display: none;
877
+ }
878
+ /* Safari can't print columns: it slices them into pages through the middle of a line. It prints
879
+ one column, where a tall image is sliced between pages and needs no scaling. */
880
+ @supports (font: -apple-system-body) {
881
+ .markdown-body {
882
+ columns: auto;
883
+ }
884
+ .markdown-body img {
885
+ max-height: none;
886
+ }
887
+ }
888
+ }
889
+
890
+ /* Safari's PDFs copy a ligature as the wrong characters ("The" pastes as "!e", "ffi" as "ffi"), so it
891
+ prints without them. An element's own font-feature-settings or `font` shorthand undoes this; set
892
+ its features with font-variant-* instead. */
893
+ @media print {
894
+ @supports (font: -apple-system-body) {
895
+ .markdown-body {
896
+ font-feature-settings: "liga" 0, "clig" 0;
897
+ }
898
+ }
899
+ }