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.
- package/README.md +23 -17
- package/bin.js +87 -30
- package/cli.js +15 -0
- package/config.js +102 -16
- package/extractDate.js +70 -6
- package/index.js +14 -5
- package/package.json +42 -7
- package/plugins/assets/index.js +65 -0
- package/plugins/atproto/index.js +132 -0
- package/plugins/atproto/password.js +71 -0
- package/plugins/atproto/publish.js +406 -0
- package/plugins/atproto/record.js +144 -0
- package/plugins/atproto/rkey.js +54 -0
- package/plugins/deploy-cloudflare/index.js +92 -0
- package/plugins/fonts/index.js +18 -21
- package/plugins/html/assets/bundle-BeK1Hptv.css +21 -0
- package/plugins/html/bundle/assets/index-BeK1Hptv.css +21 -0
- package/plugins/html/bundle/index.js +21145 -0
- package/plugins/html/editor/EditButton.svelte +152 -0
- package/plugins/html/editor/Editor.svelte +51 -0
- package/plugins/html/editor/Overlays.svelte +6 -0
- package/plugins/html/editor/SettingsPanel.svelte +397 -0
- package/plugins/html/editor/Toolbar.svelte +644 -0
- package/plugins/html/editor/create-session.js +250 -0
- package/plugins/html/editor/directives.js +128 -0
- package/plugins/html/editor/frontmatter.js +97 -0
- package/plugins/html/editor/ingest.js +339 -0
- package/plugins/html/editor/main.js +94 -0
- package/plugins/html/editor/nodes/Alert.svelte +21 -0
- package/plugins/html/editor/nodes/Blockquote.svelte +9 -0
- package/plugins/html/editor/nodes/CodeBlock.svelte +19 -0
- package/plugins/html/editor/nodes/Embed.svelte +19 -0
- package/plugins/html/editor/nodes/Emphasis.svelte +11 -0
- package/plugins/html/editor/nodes/Heading.svelte +15 -0
- package/plugins/html/editor/nodes/Highlight.svelte +11 -0
- package/plugins/html/editor/nodes/Image.svelte +18 -0
- package/plugins/html/editor/nodes/InlineCode.svelte +11 -0
- package/plugins/html/editor/nodes/Link.svelte +17 -0
- package/plugins/html/editor/nodes/List.svelte +15 -0
- package/plugins/html/editor/nodes/ListItem.svelte +9 -0
- package/plugins/html/editor/nodes/Page.svelte +21 -0
- package/plugins/html/editor/nodes/Paragraph.svelte +9 -0
- package/plugins/html/editor/nodes/Strikethrough.svelte +11 -0
- package/plugins/html/editor/nodes/Strong.svelte +11 -0
- package/plugins/html/editor/nodes/ThematicBreak.svelte +9 -0
- package/plugins/html/editor/nodes/index.js +18 -0
- package/plugins/html/editor/rollup.config.js +35 -0
- package/plugins/html/editor/serialize.js +157 -0
- package/plugins/html/editor/settings-file.js +83 -0
- package/plugins/html/editor/socket.js +202 -0
- package/plugins/html/editor/source.js +43 -0
- package/plugins/html/image.js +104 -0
- package/plugins/html/index.js +760 -0
- package/plugins/html/partials.js +299 -0
- package/plugins/html/socialLinks.js +67 -0
- package/plugins/html/writeRules.js +377 -0
- package/plugins/icons/index.js +2 -6
- package/plugins/images/index.js +78 -55
- package/plugins/markdown/brandColors.js +10 -0
- package/plugins/markdown/colorScheme.js +64 -0
- package/plugins/markdown/emoji.js +30 -0
- package/plugins/markdown/frontmatter.js +253 -0
- package/plugins/markdown/index.js +287 -1274
- package/plugins/markdown/links.js +97 -0
- package/plugins/markdown/metadata.js +308 -0
- package/plugins/markdown/readRules.js +143 -0
- package/plugins/markdown/typography.js +109 -0
- package/plugins/markdown/visitor.js +143 -0
- package/plugins/publish/index.js +34 -0
- package/plugins/robots/agents.js +79 -0
- package/plugins/robots/index.js +30 -10
- package/plugins/robots/robots.js +48 -0
- package/plugins/styles/index.js +111 -26
- package/plugins/styles/theme.js +116 -0
- package/plugins/urls/index.js +78 -0
- package/plugins/urls/urlMetadata.js +246 -0
- package/plugins/vectors/index.js +5 -9
- package/plugins/xml/entryContent.js +103 -0
- package/plugins/xml/index.js +123 -50
- package/secretPaths.js +170 -0
- package/stylesheets/DefaultStyles.css +367 -437
- package/stylesheets/ResetStyles.css +2 -38
- package/stylesheets/SyntaxHighlightingStyles.css +269 -0
- package/stylesheets/TypographyStyles.css +386 -128
- package/systemPaths.js +48 -0
- package/utils.js +56 -5
- package/.github/ISSUE_TEMPLATE/bug_report.md +0 -73
- package/.github/ISSUE_TEMPLATE/config.yml +0 -7
- package/docs-source/.cache.json +0 -9
- package/docs-source/.obsidian/app.json +0 -3
- package/docs-source/.obsidian/appearance.json +0 -3
- package/docs-source/.obsidian/core-plugins-migration.json +0 -30
- package/docs-source/.obsidian/core-plugins.json +0 -20
- package/docs-source/.obsidian/workspace.json +0 -168
- package/docs-source/.stackblitzrc +0 -3
- package/docs-source/.votive.db +0 -0
- package/docs-source/about.md +0 -3
- package/docs-source/blog/home.md +0 -5
- package/docs-source/blog/url-ui.md +0 -21
- package/docs-source/blog.md +0 -5
- package/docs-source/docs/.votive.db +0 -0
- package/docs-source/docs/deploy.md +0 -67
- package/docs-source/docs/file-structure.md +0 -31
- package/docs-source/docs/folder-settings.md +0 -23
- package/docs-source/docs/home.md +0 -55
- package/docs-source/docs/images.md +0 -10
- package/docs-source/docs/items.md +0 -13
- package/docs-source/docs/pages.md +0 -141
- package/docs-source/docs/settings.md +0 -4
- package/docs-source/docs/styling.md +0 -34
- package/docs-source/docs/taxonomies.md +0 -37
- package/docs-source/features/cards.md +0 -7
- package/docs-source/features/editing.md +0 -7
- package/docs-source/features/emoji.md +0 -7
- package/docs-source/features/frontmatter.md +0 -7
- package/docs-source/features/lists.md +0 -7
- package/docs-source/features/navigation.md +0 -7
- package/docs-source/features/rich-previews.md +0 -7
- package/docs-source/features/robots.md +0 -7
- package/docs-source/features/rss.md +0 -7
- package/docs-source/features/sitemap.md +0 -7
- package/docs-source/features/speed.md +0 -7
- package/docs-source/features/static.md +0 -7
- package/docs-source/features/taxonomies.md +0 -7
- package/docs-source/home.md +0 -42
- package/docs-source/output/about.html +0 -1
- package/docs-source/output/blog/url-ui.html +0 -8
- package/docs-source/output/blog.html +0 -1
- package/docs-source/output/default.css +0 -1
- package/docs-source/output/docs/deploy.html +0 -34
- package/docs-source/output/docs/file-structure.html +0 -24
- package/docs-source/output/docs/folder-settings.html +0 -20
- package/docs-source/output/docs/images.html +0 -2
- package/docs-source/output/docs/items.html +0 -6
- package/docs-source/output/docs/pages.html +0 -101
- package/docs-source/output/docs/styling.html +0 -18
- package/docs-source/output/docs/taxonomies.html +0 -20
- package/docs-source/output/docs.html +0 -28
- package/docs-source/output/features/cards.html +0 -1
- package/docs-source/output/features/editing.html +0 -1
- package/docs-source/output/features/emoji.html +0 -1
- package/docs-source/output/features/frontmatter.html +0 -1
- package/docs-source/output/features/lists.html +0 -1
- package/docs-source/output/features/navigation.html +0 -1
- package/docs-source/output/features/rich-previews.html +0 -1
- package/docs-source/output/features/robots.html +0 -1
- package/docs-source/output/features/rss.html +0 -1
- package/docs-source/output/features/sitemap.html +0 -1
- package/docs-source/output/features/speed.html +0 -1
- package/docs-source/output/features/static.html +0 -1
- package/docs-source/output/features/taxonomies.html +0 -1
- package/docs-source/output/features.html +0 -1
- package/docs-source/output/feed.xml +0 -1
- package/docs-source/output/index.html +0 -21
- package/docs-source/output/reset.css +0 -1
- package/docs-source/output/roadmap.html +0 -87
- package/docs-source/output/robots.txt +0 -14
- package/docs-source/output/sitemap.xml +0 -16
- package/docs-source/output/typography.css +0 -1
- package/docs-source/roadmap.md +0 -98
- package/docs-source/settings.md +0 -13
- package/getMetadata.js +0 -41
- package/jsconfig.json +0 -10
- package/regex.js +0 -36
- 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
|
+
}
|