37 Commits

Author SHA1 Message Date
cb0870223f Convert CommonJS syntax to ESM syntax 2024-07-19 02:08:10 +08:00
45911aed57 Use aria-labelledby for sidebar navigation landmarks 2024-07-14 11:19:35 +08:00
8cc6a6ac13 Add unique aria labels to landmarks 2024-07-14 10:52:19 +08:00
388d36f797 Add aria-hidden to content warning accordion emoji 2024-07-13 20:58:05 +08:00
de063b1b8a Configure linkify-it to disable fuzzy links 2024-06-24 13:41:39 +08:00
7588c6e20e Rename spoiler accordion to content accordion 2024-06-19 22:17:53 +08:00
ff34496a36 Use footer element for footnotes 2024-06-13 19:19:40 +08:00
9dbd31e9fb Restore default footnotes-list class name for footnotes list 2024-06-13 19:13:39 +08:00
27f63762ee Use descriptive aria label for back to footnote reference 2024-06-13 19:04:03 +08:00
27a5af752e Rename footnotes-list class to footnotes__list 2024-06-13 17:51:14 +08:00
675b2d875b Add # to footnote labels for screen readers 2024-06-09 17:34:39 +08:00
bf30216f59 Add enableLazyLoading parameter to figure element paired shortcode 2024-06-06 22:25:00 +08:00
b72c8477ea Unfo ignoring of heading anchor from ToC plugin 2024-06-04 19:40:16 +08:00
59e28b6e0f Configure ToC plugin to ignore the .heading-anchor element 2024-06-04 18:59:31 +08:00
54c951d2bd Remove heading level 1 from markdown-it-anchor options 2024-06-04 18:46:40 +08:00
2283f1cb02 Set markdown-it linkify feature to true 2024-05-31 12:47:16 +08:00
1004052b09 Add pared shortcode for content warning component 2024-05-28 00:55:09 +08:00
2039e2581a Use uncenter's eleventy-plugin-toc fork as the table of contents plugin 2024-05-26 11:27:12 +08:00
1296995902 Style footnote section 2024-05-17 23:58:08 +08:00
c8d9ce8700 Place footnotes title inside Footnote container 2024-05-17 23:20:19 +08:00
96a0ba2b42 Configure markdown-it-footnote 2024-05-17 22:44:02 +08:00
aeaf5b950e Install markdown-it-footnote plugin 2024-05-17 22:13:56 +08:00
f5fb74fbe5 Remove Q&A accordions 2024-05-10 00:48:05 +08:00
73a184840e Rename paired shortcode for image figure elment 2024-05-09 22:56:31 +08:00
f59353c810 Install markdown-it-attribution plugin 2024-05-09 20:12:22 +08:00
29571309e0 Add figure and figcaption elmeent paired shortcode 2024-05-07 14:48:11 +08:00
69ee6f7fc9 Edit comment about Markdown configuration 2024-05-07 11:30:52 +08:00
2a2f4238f9 Move code block for custom container shortcode 2024-05-07 10:26:21 +08:00
192ea8ad26 Add space between Q&A accordion marker and question 2024-05-07 10:00:08 +08:00
a9824593f2 Add Q&A accordion paired shortcode 2024-05-07 09:53:49 +08:00
2f1c721996 Remove empty <p> tags before and after accordions when paired together in shortcodes 2024-05-07 09:50:08 +08:00
46bf92e0fe Use render instead of renderInline to render spoiler accordion 2024-05-07 03:51:49 +08:00
de715b5e85 Remove trailing paragraph element from spoiler shortcodes 2024-05-07 03:32:09 +08:00
bb3d0ab464 Add "spoiler" paired shortcode 2024-05-07 03:12:06 +08:00
06bfff02db Refactor Juhani romance guide with container paired shortcode 2024-05-07 02:24:25 +08:00
172bb36012 Add "container" paired shortcodes for Markdown files 2024-05-07 01:37:15 +08:00
13d84d1cf1 Make markdown configurations into a separate config file 2024-05-07 01:01:15 +08:00