@grafctory/clay-markdown 0.4.1 → 0.5.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 +13 -3
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,14 +1,22 @@
|
|
|
1
1
|
# @grafctory/clay-markdown
|
|
2
2
|
|
|
3
|
-
[![npm]
|
|
3
|
+
[![npm][npm-badge]][npm] [![Grafctory][grafctory-badge]][grafctory]
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
[npm-badge]: https://img.shields.io/npm/v/@grafctory/clay-markdown
|
|
6
|
+
[npm]: https://www.npmjs.com/package/@grafctory/clay-markdown
|
|
7
|
+
[grafctory-badge]: https://img.shields.io/badge/part%20of-Grafctory-blue
|
|
8
|
+
[grafctory]: https://github.com/grafctory
|
|
9
|
+
|
|
10
|
+
Preact Markdown documents for [@grafctory/clay].
|
|
6
11
|
|
|
7
12
|
Markdown sources rendered as the documents they describe, with a table of contents leading into their sections and the
|
|
8
13
|
values their front matter declares, so a page built from Markdown needs no rendering pipeline of its own.
|
|
9
14
|
|
|
10
15
|
Styling is structural only: what a widget needs to work, with colour, type and spacing left to
|
|
11
|
-
[@grafctory/skin]
|
|
16
|
+
[@grafctory/skin] or to whoever styles the app.
|
|
17
|
+
|
|
18
|
+
[@grafctory/clay]: https://github.com/grafctory/clay
|
|
19
|
+
[@grafctory/skin]: https://github.com/grafctory/skin
|
|
12
20
|
|
|
13
21
|
# Installation
|
|
14
22
|
|
|
@@ -40,3 +48,5 @@ npm install preact # peer dependency
|
|
|
40
48
|
|
|
41
49
|
This project is licensed under the Apache 2.0 License –
|
|
42
50
|
see [LICENSE](https://github.com/grafctory/clay?tab=Apache-2.0-1-ov-file) file for details.
|
|
51
|
+
|
|
52
|
+
<sub>Grafctory™ is a trademark of Metreeca srl.</sub>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@grafctory/clay-markdown",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "Preact Markdown documents for @grafctory/clay.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"typescript",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"homepage": "https://grafctory.github.io/clay/",
|
|
11
11
|
"bugs": {
|
|
12
12
|
"url": "https://github.com/grafctory/clay/issues",
|
|
13
|
-
"email": "info@
|
|
13
|
+
"email": "info@grafctory.dev"
|
|
14
14
|
},
|
|
15
15
|
"license": "Apache-2.0",
|
|
16
16
|
"author": {
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"check": "npx vitest --config ../../vitest.config.ts --root . --typecheck --passWithNoTests run"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@grafctory/clay-widgets": "^0.
|
|
55
|
+
"@grafctory/clay-widgets": "^0.5.0",
|
|
56
56
|
"@grafctory/core": "^0.14.0",
|
|
57
57
|
"hast-util-heading-rank": "^3.0.0",
|
|
58
58
|
"hast-util-to-jsx-runtime": "^2.3.7",
|