void-plugin-hono-jsx 0.1.0 → 0.2.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 (40) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +21 -15
  3. package/THIRD_PARTY_NOTICES.md +1 -1
  4. package/dist/plugins/hono-islands.d.ts.map +1 -1
  5. package/dist/plugins/hono-islands.js +11 -3
  6. package/dist/plugins/hono-islands.js.map +1 -1
  7. package/dist/plugins/hono-markdown.d.ts +3 -1
  8. package/dist/plugins/hono-markdown.d.ts.map +1 -1
  9. package/dist/plugins/hono-markdown.js +13 -6
  10. package/dist/plugins/hono-markdown.js.map +1 -1
  11. package/dist/plugins/markdown-compiler.d.ts +65 -2
  12. package/dist/plugins/markdown-compiler.d.ts.map +1 -1
  13. package/dist/plugins/markdown-compiler.js +54 -40
  14. package/dist/plugins/markdown-compiler.js.map +1 -1
  15. package/dist/plugins/markdown-copy.d.ts +3 -0
  16. package/dist/plugins/markdown-copy.d.ts.map +1 -0
  17. package/dist/plugins/markdown-copy.js +31 -0
  18. package/dist/plugins/markdown-copy.js.map +1 -0
  19. package/dist/plugins/markdown-features.d.ts +12 -0
  20. package/dist/plugins/markdown-features.d.ts.map +1 -0
  21. package/dist/plugins/markdown-features.js +56 -0
  22. package/dist/plugins/markdown-features.js.map +1 -0
  23. package/dist/theme/code.css +202 -0
  24. package/dist/theme/containers.css +125 -0
  25. package/dist/theme/content.css +4 -0
  26. package/dist/theme/index.css +7 -0
  27. package/dist/theme/prose.css +294 -0
  28. package/dist/theme/reset.css +100 -0
  29. package/package.json +20 -2
  30. package/src/plugins/hono-islands.ts +11 -3
  31. package/src/plugins/hono-markdown.ts +15 -8
  32. package/src/plugins/markdown-compiler.ts +46 -30
  33. package/src/plugins/markdown-copy.ts +30 -0
  34. package/src/plugins/markdown-features.ts +57 -0
  35. package/src/theme/code.css +202 -0
  36. package/src/theme/containers.css +125 -0
  37. package/src/theme/content.css +4 -0
  38. package/src/theme/index.css +7 -0
  39. package/src/theme/prose.css +294 -0
  40. package/src/theme/reset.css +100 -0
@@ -0,0 +1,100 @@
1
+ /* Void Markdown — Reset & Baseline
2
+ *
3
+ * Opinionated modern reset for markdown-driven sites.
4
+ * Imported by index.css — not intended for standalone use.
5
+ */
6
+
7
+ /* Box sizing */
8
+ *,
9
+ *::before,
10
+ *::after {
11
+ box-sizing: border-box;
12
+ }
13
+
14
+ /* Remove default margins */
15
+ * {
16
+ margin: 0;
17
+ }
18
+
19
+ /* Document */
20
+ html {
21
+ line-height: 1.5;
22
+ -webkit-text-size-adjust: 100%;
23
+ -moz-tab-size: 4;
24
+ tab-size: 4;
25
+ scroll-behavior: smooth;
26
+ }
27
+
28
+ /* Body */
29
+ body {
30
+ min-height: 100dvh;
31
+ font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
32
+ -webkit-font-smoothing: antialiased;
33
+ -moz-osx-font-smoothing: grayscale;
34
+ text-rendering: optimizeLegibility;
35
+ }
36
+
37
+ /* Typography */
38
+ h1,
39
+ h2,
40
+ h3,
41
+ h4,
42
+ h5,
43
+ h6 {
44
+ overflow-wrap: break-word;
45
+ text-wrap: balance;
46
+ }
47
+
48
+ p {
49
+ overflow-wrap: break-word;
50
+ text-wrap: pretty;
51
+ }
52
+
53
+ /* Media */
54
+ img,
55
+ picture,
56
+ video,
57
+ canvas,
58
+ svg {
59
+ display: block;
60
+ max-width: 100%;
61
+ }
62
+
63
+ img,
64
+ video {
65
+ height: auto;
66
+ }
67
+
68
+ /* Forms */
69
+ input,
70
+ button,
71
+ textarea,
72
+ select {
73
+ font: inherit;
74
+ }
75
+
76
+ /* Monospace */
77
+ code,
78
+ kbd,
79
+ samp,
80
+ pre {
81
+ font-family:
82
+ ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, 'DejaVu Sans Mono', monospace;
83
+ font-size: 1em;
84
+ }
85
+
86
+ /* Links */
87
+ a {
88
+ color: inherit;
89
+ text-decoration: inherit;
90
+ }
91
+
92
+ /* Tables */
93
+ table {
94
+ border-collapse: collapse;
95
+ }
96
+
97
+ /* Horizontal rule */
98
+ hr {
99
+ border: none;
100
+ }