vowel 0.6.4 → 0.7.0-beta.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 (166) hide show
  1. package/README.md +1 -1
  2. package/bin.js +47 -27
  3. package/cli.js +15 -0
  4. package/config.js +93 -26
  5. package/extractDate.js +70 -6
  6. package/index.js +14 -5
  7. package/package.json +39 -8
  8. package/plugins/assets/index.js +65 -0
  9. package/plugins/atproto/index.js +132 -0
  10. package/plugins/atproto/password.js +71 -0
  11. package/plugins/atproto/publish.js +406 -0
  12. package/plugins/atproto/record.js +144 -0
  13. package/plugins/atproto/rkey.js +54 -0
  14. package/plugins/deploy-cloudflare/index.js +30 -16
  15. package/plugins/fonts/index.js +18 -21
  16. package/plugins/html/assets/bundle-BeK1Hptv.css +21 -0
  17. package/plugins/html/bundle/assets/index-BeK1Hptv.css +21 -0
  18. package/plugins/html/bundle/index.js +21145 -0
  19. package/plugins/html/editor/EditButton.svelte +152 -0
  20. package/plugins/html/editor/Editor.svelte +51 -0
  21. package/plugins/html/editor/Overlays.svelte +6 -0
  22. package/plugins/html/editor/SettingsPanel.svelte +397 -0
  23. package/plugins/html/editor/Toolbar.svelte +644 -0
  24. package/plugins/html/editor/create-session.js +250 -0
  25. package/plugins/html/editor/directives.js +128 -0
  26. package/plugins/html/editor/frontmatter.js +97 -0
  27. package/plugins/html/editor/ingest.js +339 -0
  28. package/plugins/html/editor/main.js +94 -0
  29. package/plugins/html/editor/nodes/Alert.svelte +21 -0
  30. package/plugins/html/editor/nodes/Blockquote.svelte +9 -0
  31. package/plugins/html/editor/nodes/CodeBlock.svelte +19 -0
  32. package/plugins/html/editor/nodes/Embed.svelte +19 -0
  33. package/plugins/html/editor/nodes/Emphasis.svelte +11 -0
  34. package/plugins/html/editor/nodes/Heading.svelte +15 -0
  35. package/plugins/html/editor/nodes/Highlight.svelte +11 -0
  36. package/plugins/html/editor/nodes/Image.svelte +18 -0
  37. package/plugins/html/editor/nodes/InlineCode.svelte +11 -0
  38. package/plugins/html/editor/nodes/Link.svelte +17 -0
  39. package/plugins/html/editor/nodes/List.svelte +15 -0
  40. package/plugins/html/editor/nodes/ListItem.svelte +9 -0
  41. package/plugins/html/editor/nodes/Page.svelte +21 -0
  42. package/plugins/html/editor/nodes/Paragraph.svelte +9 -0
  43. package/plugins/html/editor/nodes/Strikethrough.svelte +11 -0
  44. package/plugins/html/editor/nodes/Strong.svelte +11 -0
  45. package/plugins/html/editor/nodes/ThematicBreak.svelte +9 -0
  46. package/plugins/html/editor/nodes/index.js +18 -0
  47. package/plugins/html/editor/rollup.config.js +35 -0
  48. package/plugins/html/editor/serialize.js +157 -0
  49. package/plugins/html/editor/settings-file.js +83 -0
  50. package/plugins/html/editor/socket.js +202 -0
  51. package/plugins/html/editor/source.js +43 -0
  52. package/plugins/html/image.js +31 -5
  53. package/plugins/html/index.js +430 -458
  54. package/plugins/html/partials.js +299 -0
  55. package/plugins/html/socialLinks.js +67 -0
  56. package/plugins/html/writeRules.js +377 -0
  57. package/plugins/icons/index.js +2 -6
  58. package/plugins/images/index.js +78 -55
  59. package/plugins/markdown/brandColors.js +10 -0
  60. package/plugins/markdown/colorScheme.js +64 -0
  61. package/plugins/markdown/emoji.js +30 -0
  62. package/plugins/markdown/frontmatter.js +253 -0
  63. package/plugins/markdown/index.js +276 -334
  64. package/plugins/markdown/links.js +97 -0
  65. package/plugins/markdown/metadata.js +229 -68
  66. package/plugins/markdown/readRules.js +143 -0
  67. package/plugins/markdown/typography.js +109 -0
  68. package/plugins/markdown/visitor.js +143 -0
  69. package/plugins/publish/index.js +34 -0
  70. package/plugins/robots/agents.js +79 -0
  71. package/plugins/robots/index.js +30 -10
  72. package/plugins/robots/robots.js +48 -0
  73. package/plugins/styles/index.js +111 -18
  74. package/plugins/styles/theme.js +116 -0
  75. package/plugins/urls/index.js +49 -62
  76. package/plugins/urls/urlMetadata.js +246 -0
  77. package/plugins/vectors/index.js +5 -9
  78. package/plugins/xml/entryContent.js +103 -0
  79. package/plugins/xml/index.js +105 -43
  80. package/secretPaths.js +170 -0
  81. package/stylesheets/DefaultStyles.css +367 -437
  82. package/stylesheets/ResetStyles.css +2 -38
  83. package/stylesheets/SyntaxHighlightingStyles.css +36 -4
  84. package/stylesheets/TypographyStyles.css +386 -128
  85. package/systemPaths.js +48 -0
  86. package/utils.js +56 -5
  87. package/.github/ISSUE_TEMPLATE/bug_report.md +0 -73
  88. package/.github/ISSUE_TEMPLATE/config.yml +0 -7
  89. package/docs-source/.cache.json +0 -9
  90. package/docs-source/.obsidian/app.json +0 -3
  91. package/docs-source/.obsidian/appearance.json +0 -3
  92. package/docs-source/.obsidian/core-plugins-migration.json +0 -30
  93. package/docs-source/.obsidian/core-plugins.json +0 -20
  94. package/docs-source/.obsidian/workspace.json +0 -168
  95. package/docs-source/.stackblitzrc +0 -3
  96. package/docs-source/.votive.db +0 -0
  97. package/docs-source/about.md +0 -3
  98. package/docs-source/blog/home.md +0 -5
  99. package/docs-source/blog/url-ui.md +0 -21
  100. package/docs-source/blog.md +0 -5
  101. package/docs-source/docs/.votive.db +0 -0
  102. package/docs-source/docs/deploy.md +0 -67
  103. package/docs-source/docs/file-structure.md +0 -31
  104. package/docs-source/docs/folder-settings.md +0 -23
  105. package/docs-source/docs/home.md +0 -55
  106. package/docs-source/docs/images.md +0 -10
  107. package/docs-source/docs/items.md +0 -13
  108. package/docs-source/docs/pages.md +0 -141
  109. package/docs-source/docs/settings.md +0 -4
  110. package/docs-source/docs/styling.md +0 -34
  111. package/docs-source/docs/taxonomies.md +0 -37
  112. package/docs-source/features/cards.md +0 -7
  113. package/docs-source/features/editing.md +0 -7
  114. package/docs-source/features/emoji.md +0 -7
  115. package/docs-source/features/frontmatter.md +0 -7
  116. package/docs-source/features/lists.md +0 -7
  117. package/docs-source/features/navigation.md +0 -7
  118. package/docs-source/features/rich-previews.md +0 -7
  119. package/docs-source/features/robots.md +0 -7
  120. package/docs-source/features/rss.md +0 -7
  121. package/docs-source/features/sitemap.md +0 -7
  122. package/docs-source/features/speed.md +0 -7
  123. package/docs-source/features/static.md +0 -7
  124. package/docs-source/features/taxonomies.md +0 -7
  125. package/docs-source/home.md +0 -42
  126. package/docs-source/output/about.html +0 -1
  127. package/docs-source/output/blog/url-ui.html +0 -8
  128. package/docs-source/output/blog.html +0 -1
  129. package/docs-source/output/default.css +0 -1
  130. package/docs-source/output/docs/deploy.html +0 -34
  131. package/docs-source/output/docs/file-structure.html +0 -24
  132. package/docs-source/output/docs/folder-settings.html +0 -20
  133. package/docs-source/output/docs/images.html +0 -2
  134. package/docs-source/output/docs/items.html +0 -6
  135. package/docs-source/output/docs/pages.html +0 -101
  136. package/docs-source/output/docs/styling.html +0 -18
  137. package/docs-source/output/docs/taxonomies.html +0 -20
  138. package/docs-source/output/docs.html +0 -28
  139. package/docs-source/output/features/cards.html +0 -1
  140. package/docs-source/output/features/editing.html +0 -1
  141. package/docs-source/output/features/emoji.html +0 -1
  142. package/docs-source/output/features/frontmatter.html +0 -1
  143. package/docs-source/output/features/lists.html +0 -1
  144. package/docs-source/output/features/navigation.html +0 -1
  145. package/docs-source/output/features/rich-previews.html +0 -1
  146. package/docs-source/output/features/robots.html +0 -1
  147. package/docs-source/output/features/rss.html +0 -1
  148. package/docs-source/output/features/sitemap.html +0 -1
  149. package/docs-source/output/features/speed.html +0 -1
  150. package/docs-source/output/features/static.html +0 -1
  151. package/docs-source/output/features/taxonomies.html +0 -1
  152. package/docs-source/output/features.html +0 -1
  153. package/docs-source/output/feed.xml +0 -1
  154. package/docs-source/output/index.html +0 -21
  155. package/docs-source/output/reset.css +0 -1
  156. package/docs-source/output/roadmap.html +0 -87
  157. package/docs-source/output/robots.txt +0 -14
  158. package/docs-source/output/sitemap.xml +0 -16
  159. package/docs-source/output/typography.css +0 -1
  160. package/docs-source/roadmap.md +0 -98
  161. package/docs-source/settings.md +0 -13
  162. package/getMetadata.js +0 -41
  163. package/jsconfig.json +0 -10
  164. package/plugins/markdown/robots.js +0 -18
  165. package/regex.js +0 -36
  166. package/stylesheets/brand-colors.css +0 -119
@@ -2,11 +2,11 @@
2
2
  html {
3
3
  -webkit-text-size-adjust: 100%;
4
4
  margin: 0;
5
- font-size: 62.5%;
5
+ /* font-size: 62.5%; */
6
+ font-size: 16px;
6
7
  }
7
8
 
8
9
  body {
9
- font-size: 1.6rem;
10
10
  line-height: 1.5;
11
11
  -webkit-font-smoothing: antialiased;
12
12
  font-weight: 400;
@@ -49,10 +49,6 @@
49
49
  overflow: visible;
50
50
  }
51
51
 
52
- pre {
53
- font-family: monospace, monospace;
54
- font-size: 1em;
55
- }
56
52
 
57
53
  a {
58
54
  background-color: transparent;
@@ -64,38 +60,6 @@
64
60
  text-decoration: underline dotted;
65
61
  }
66
62
 
67
- b,
68
- strong {
69
- font-weight: bolder;
70
- }
71
-
72
- code,
73
- kbd,
74
- samp {
75
- font-family: monospace, monospace;
76
- font-size: 1em;
77
- }
78
-
79
- small {
80
- font-size: 80%;
81
- }
82
-
83
- sub,
84
- sup {
85
- font-size: 75%;
86
- line-height: 0;
87
- position: relative;
88
- vertical-align: baseline;
89
- }
90
-
91
- sub {
92
- bottom: -0.25em;
93
- }
94
-
95
- sup {
96
- top: -0.5em;
97
- }
98
-
99
63
  img {
100
64
  border-style: none;
101
65
  height: auto;
@@ -9,9 +9,11 @@ pre code.hljs {
9
9
  overflow-x: auto;
10
10
  padding: 1em
11
11
  }
12
+
12
13
  code.hljs {
13
14
  padding: 3px 5px
14
15
  }
16
+
15
17
  /*!
16
18
  Theme: GitHub
17
19
  Description: Light theme as seen on github.com
@@ -24,8 +26,8 @@ code.hljs {
24
26
  */
25
27
  .hljs {
26
28
  color: #24292e;
27
- background: #ffffff
28
29
  }
30
+
29
31
  .hljs-doctag,
30
32
  .hljs-keyword,
31
33
  .hljs-meta .hljs-keyword,
@@ -36,6 +38,7 @@ code.hljs {
36
38
  /* prettylights-syntax-keyword */
37
39
  color: #d73a49
38
40
  }
41
+
39
42
  .hljs-title,
40
43
  .hljs-title.class_,
41
44
  .hljs-title.class_.inherited__,
@@ -43,6 +46,7 @@ code.hljs {
43
46
  /* prettylights-syntax-entity */
44
47
  color: #6f42c1
45
48
  }
49
+
46
50
  .hljs-attr,
47
51
  .hljs-attribute,
48
52
  .hljs-literal,
@@ -56,23 +60,27 @@ code.hljs {
56
60
  /* prettylights-syntax-constant */
57
61
  color: #005cc5
58
62
  }
63
+
59
64
  .hljs-regexp,
60
65
  .hljs-string,
61
66
  .hljs-meta .hljs-string {
62
67
  /* prettylights-syntax-string */
63
68
  color: #032f62
64
69
  }
70
+
65
71
  .hljs-built_in,
66
72
  .hljs-symbol {
67
73
  /* prettylights-syntax-variable */
68
74
  color: #e36209
69
75
  }
76
+
70
77
  .hljs-comment,
71
78
  .hljs-code,
72
79
  .hljs-formula {
73
80
  /* prettylights-syntax-comment */
74
81
  color: #6a737d
75
82
  }
83
+
76
84
  .hljs-name,
77
85
  .hljs-quote,
78
86
  .hljs-selector-tag,
@@ -80,39 +88,47 @@ code.hljs {
80
88
  /* prettylights-syntax-entity-tag */
81
89
  color: #22863a
82
90
  }
91
+
83
92
  .hljs-subst {
84
93
  /* prettylights-syntax-storage-modifier-import */
85
94
  color: #24292e
86
95
  }
96
+
87
97
  .hljs-section {
88
98
  /* prettylights-syntax-markup-heading */
89
99
  color: #005cc5;
90
100
  font-weight: bold
91
101
  }
102
+
92
103
  .hljs-bullet {
93
104
  /* prettylights-syntax-markup-list */
94
105
  color: #735c0f
95
106
  }
107
+
96
108
  .hljs-emphasis {
97
109
  /* prettylights-syntax-markup-italic */
98
110
  color: #24292e;
99
111
  font-style: italic
100
112
  }
113
+
101
114
  .hljs-strong {
102
115
  /* prettylights-syntax-markup-bold */
103
116
  color: #24292e;
104
117
  font-weight: bold
105
118
  }
119
+
106
120
  .hljs-addition {
107
121
  /* prettylights-syntax-markup-inserted */
108
122
  color: #22863a;
109
123
  background-color: #f0fff4
110
124
  }
125
+
111
126
  .hljs-deletion {
112
127
  /* prettylights-syntax-markup-deleted */
113
128
  color: #b31d28;
114
129
  background-color: #ffeef0
115
130
  }
131
+
116
132
  .hljs-char.escape_,
117
133
  .hljs-link,
118
134
  .hljs-params,
@@ -120,10 +136,11 @@ code.hljs {
120
136
  .hljs-punctuation,
121
137
  .hljs-tag {
122
138
  /* purposely ignored */
123
-
139
+
124
140
  }
125
141
 
126
142
  @media (prefers-color-scheme: dark) {
143
+
127
144
  /*!
128
145
  Theme: GitHub Dark
129
146
  Description: Dark theme as seen on github.com
@@ -138,6 +155,7 @@ code.hljs {
138
155
  color: #c9d1d9;
139
156
  background: #0d1117
140
157
  }
158
+
141
159
  .hljs-doctag,
142
160
  .hljs-keyword,
143
161
  .hljs-meta .hljs-keyword,
@@ -148,6 +166,7 @@ code.hljs {
148
166
  /* prettylights-syntax-keyword */
149
167
  color: #ff7b72
150
168
  }
169
+
151
170
  .hljs-title,
152
171
  .hljs-title.class_,
153
172
  .hljs-title.class_.inherited__,
@@ -155,6 +174,7 @@ code.hljs {
155
174
  /* prettylights-syntax-entity */
156
175
  color: #d2a8ff
157
176
  }
177
+
158
178
  .hljs-attr,
159
179
  .hljs-attribute,
160
180
  .hljs-literal,
@@ -168,23 +188,27 @@ code.hljs {
168
188
  /* prettylights-syntax-constant */
169
189
  color: #79c0ff
170
190
  }
191
+
171
192
  .hljs-regexp,
172
193
  .hljs-string,
173
194
  .hljs-meta .hljs-string {
174
195
  /* prettylights-syntax-string */
175
196
  color: #a5d6ff
176
197
  }
198
+
177
199
  .hljs-built_in,
178
200
  .hljs-symbol {
179
201
  /* prettylights-syntax-variable */
180
202
  color: #ffa657
181
203
  }
204
+
182
205
  .hljs-comment,
183
206
  .hljs-code,
184
207
  .hljs-formula {
185
208
  /* prettylights-syntax-comment */
186
209
  color: #8b949e
187
210
  }
211
+
188
212
  .hljs-name,
189
213
  .hljs-quote,
190
214
  .hljs-selector-tag,
@@ -192,39 +216,47 @@ code.hljs {
192
216
  /* prettylights-syntax-entity-tag */
193
217
  color: #7ee787
194
218
  }
219
+
195
220
  .hljs-subst {
196
221
  /* prettylights-syntax-storage-modifier-import */
197
222
  color: #c9d1d9
198
223
  }
224
+
199
225
  .hljs-section {
200
226
  /* prettylights-syntax-markup-heading */
201
227
  color: #1f6feb;
202
228
  font-weight: bold
203
229
  }
230
+
204
231
  .hljs-bullet {
205
232
  /* prettylights-syntax-markup-list */
206
233
  color: #f2cc60
207
234
  }
235
+
208
236
  .hljs-emphasis {
209
237
  /* prettylights-syntax-markup-italic */
210
238
  color: #c9d1d9;
211
239
  font-style: italic
212
240
  }
241
+
213
242
  .hljs-strong {
214
243
  /* prettylights-syntax-markup-bold */
215
244
  color: #c9d1d9;
216
245
  font-weight: bold
217
246
  }
247
+
218
248
  .hljs-addition {
219
249
  /* prettylights-syntax-markup-inserted */
220
250
  color: #aff5b4;
221
251
  background-color: #033a16
222
252
  }
253
+
223
254
  .hljs-deletion {
224
255
  /* prettylights-syntax-markup-deleted */
225
256
  color: #ffdcd7;
226
257
  background-color: #67060c
227
258
  }
259
+
228
260
  .hljs-char.escape_,
229
261
  .hljs-link,
230
262
  .hljs-params,
@@ -232,6 +264,6 @@ code.hljs {
232
264
  .hljs-punctuation,
233
265
  .hljs-tag {
234
266
  /* purposely ignored */
235
-
267
+
236
268
  }
237
- }
269
+ }