vowel 0.6.3 → 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 (165) hide show
  1. package/README.md +23 -17
  2. package/bin.js +87 -30
  3. package/cli.js +15 -0
  4. package/config.js +102 -16
  5. package/extractDate.js +70 -6
  6. package/index.js +14 -5
  7. package/package.json +42 -7
  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 +92 -0
  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 +104 -0
  53. package/plugins/html/index.js +760 -0
  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 +287 -1274
  64. package/plugins/markdown/links.js +97 -0
  65. package/plugins/markdown/metadata.js +308 -0
  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 -26
  74. package/plugins/styles/theme.js +116 -0
  75. package/plugins/urls/index.js +78 -0
  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 +123 -50
  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 +269 -0
  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/regex.js +0 -36
  165. 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;
@@ -0,0 +1,269 @@
1
+ /*
2
+ * Syntax highlighting theme for code blocks (rehype-highlight), based on
3
+ * highlight.js's GitHub theme. Light by default, dark under
4
+ * prefers-color-scheme - see highlight.js/styles/github.css and
5
+ * github-dark.css for the source themes this was combined from.
6
+ */
7
+ pre code.hljs {
8
+ display: block;
9
+ overflow-x: auto;
10
+ padding: 1em
11
+ }
12
+
13
+ code.hljs {
14
+ padding: 3px 5px
15
+ }
16
+
17
+ /*!
18
+ Theme: GitHub
19
+ Description: Light theme as seen on github.com
20
+ Author: github.com
21
+ Maintainer: @Hirse
22
+ Updated: 2021-05-15
23
+
24
+ Outdated base version: https://github.com/primer/github-syntax-light
25
+ Current colors taken from GitHub's CSS
26
+ */
27
+ .hljs {
28
+ color: #24292e;
29
+ }
30
+
31
+ .hljs-doctag,
32
+ .hljs-keyword,
33
+ .hljs-meta .hljs-keyword,
34
+ .hljs-template-tag,
35
+ .hljs-template-variable,
36
+ .hljs-type,
37
+ .hljs-variable.language_ {
38
+ /* prettylights-syntax-keyword */
39
+ color: #d73a49
40
+ }
41
+
42
+ .hljs-title,
43
+ .hljs-title.class_,
44
+ .hljs-title.class_.inherited__,
45
+ .hljs-title.function_ {
46
+ /* prettylights-syntax-entity */
47
+ color: #6f42c1
48
+ }
49
+
50
+ .hljs-attr,
51
+ .hljs-attribute,
52
+ .hljs-literal,
53
+ .hljs-meta,
54
+ .hljs-number,
55
+ .hljs-operator,
56
+ .hljs-variable,
57
+ .hljs-selector-attr,
58
+ .hljs-selector-class,
59
+ .hljs-selector-id {
60
+ /* prettylights-syntax-constant */
61
+ color: #005cc5
62
+ }
63
+
64
+ .hljs-regexp,
65
+ .hljs-string,
66
+ .hljs-meta .hljs-string {
67
+ /* prettylights-syntax-string */
68
+ color: #032f62
69
+ }
70
+
71
+ .hljs-built_in,
72
+ .hljs-symbol {
73
+ /* prettylights-syntax-variable */
74
+ color: #e36209
75
+ }
76
+
77
+ .hljs-comment,
78
+ .hljs-code,
79
+ .hljs-formula {
80
+ /* prettylights-syntax-comment */
81
+ color: #6a737d
82
+ }
83
+
84
+ .hljs-name,
85
+ .hljs-quote,
86
+ .hljs-selector-tag,
87
+ .hljs-selector-pseudo {
88
+ /* prettylights-syntax-entity-tag */
89
+ color: #22863a
90
+ }
91
+
92
+ .hljs-subst {
93
+ /* prettylights-syntax-storage-modifier-import */
94
+ color: #24292e
95
+ }
96
+
97
+ .hljs-section {
98
+ /* prettylights-syntax-markup-heading */
99
+ color: #005cc5;
100
+ font-weight: bold
101
+ }
102
+
103
+ .hljs-bullet {
104
+ /* prettylights-syntax-markup-list */
105
+ color: #735c0f
106
+ }
107
+
108
+ .hljs-emphasis {
109
+ /* prettylights-syntax-markup-italic */
110
+ color: #24292e;
111
+ font-style: italic
112
+ }
113
+
114
+ .hljs-strong {
115
+ /* prettylights-syntax-markup-bold */
116
+ color: #24292e;
117
+ font-weight: bold
118
+ }
119
+
120
+ .hljs-addition {
121
+ /* prettylights-syntax-markup-inserted */
122
+ color: #22863a;
123
+ background-color: #f0fff4
124
+ }
125
+
126
+ .hljs-deletion {
127
+ /* prettylights-syntax-markup-deleted */
128
+ color: #b31d28;
129
+ background-color: #ffeef0
130
+ }
131
+
132
+ .hljs-char.escape_,
133
+ .hljs-link,
134
+ .hljs-params,
135
+ .hljs-property,
136
+ .hljs-punctuation,
137
+ .hljs-tag {
138
+ /* purposely ignored */
139
+
140
+ }
141
+
142
+ @media (prefers-color-scheme: dark) {
143
+
144
+ /*!
145
+ Theme: GitHub Dark
146
+ Description: Dark theme as seen on github.com
147
+ Author: github.com
148
+ Maintainer: @Hirse
149
+ Updated: 2021-05-15
150
+
151
+ Outdated base version: https://github.com/primer/github-syntax-dark
152
+ Current colors taken from GitHub's CSS
153
+ */
154
+ .hljs {
155
+ color: #c9d1d9;
156
+ background: #0d1117
157
+ }
158
+
159
+ .hljs-doctag,
160
+ .hljs-keyword,
161
+ .hljs-meta .hljs-keyword,
162
+ .hljs-template-tag,
163
+ .hljs-template-variable,
164
+ .hljs-type,
165
+ .hljs-variable.language_ {
166
+ /* prettylights-syntax-keyword */
167
+ color: #ff7b72
168
+ }
169
+
170
+ .hljs-title,
171
+ .hljs-title.class_,
172
+ .hljs-title.class_.inherited__,
173
+ .hljs-title.function_ {
174
+ /* prettylights-syntax-entity */
175
+ color: #d2a8ff
176
+ }
177
+
178
+ .hljs-attr,
179
+ .hljs-attribute,
180
+ .hljs-literal,
181
+ .hljs-meta,
182
+ .hljs-number,
183
+ .hljs-operator,
184
+ .hljs-variable,
185
+ .hljs-selector-attr,
186
+ .hljs-selector-class,
187
+ .hljs-selector-id {
188
+ /* prettylights-syntax-constant */
189
+ color: #79c0ff
190
+ }
191
+
192
+ .hljs-regexp,
193
+ .hljs-string,
194
+ .hljs-meta .hljs-string {
195
+ /* prettylights-syntax-string */
196
+ color: #a5d6ff
197
+ }
198
+
199
+ .hljs-built_in,
200
+ .hljs-symbol {
201
+ /* prettylights-syntax-variable */
202
+ color: #ffa657
203
+ }
204
+
205
+ .hljs-comment,
206
+ .hljs-code,
207
+ .hljs-formula {
208
+ /* prettylights-syntax-comment */
209
+ color: #8b949e
210
+ }
211
+
212
+ .hljs-name,
213
+ .hljs-quote,
214
+ .hljs-selector-tag,
215
+ .hljs-selector-pseudo {
216
+ /* prettylights-syntax-entity-tag */
217
+ color: #7ee787
218
+ }
219
+
220
+ .hljs-subst {
221
+ /* prettylights-syntax-storage-modifier-import */
222
+ color: #c9d1d9
223
+ }
224
+
225
+ .hljs-section {
226
+ /* prettylights-syntax-markup-heading */
227
+ color: #1f6feb;
228
+ font-weight: bold
229
+ }
230
+
231
+ .hljs-bullet {
232
+ /* prettylights-syntax-markup-list */
233
+ color: #f2cc60
234
+ }
235
+
236
+ .hljs-emphasis {
237
+ /* prettylights-syntax-markup-italic */
238
+ color: #c9d1d9;
239
+ font-style: italic
240
+ }
241
+
242
+ .hljs-strong {
243
+ /* prettylights-syntax-markup-bold */
244
+ color: #c9d1d9;
245
+ font-weight: bold
246
+ }
247
+
248
+ .hljs-addition {
249
+ /* prettylights-syntax-markup-inserted */
250
+ color: #aff5b4;
251
+ background-color: #033a16
252
+ }
253
+
254
+ .hljs-deletion {
255
+ /* prettylights-syntax-markup-deleted */
256
+ color: #ffdcd7;
257
+ background-color: #67060c
258
+ }
259
+
260
+ .hljs-char.escape_,
261
+ .hljs-link,
262
+ .hljs-params,
263
+ .hljs-property,
264
+ .hljs-punctuation,
265
+ .hljs-tag {
266
+ /* purposely ignored */
267
+
268
+ }
269
+ }