@podlite/to-jsx 0.0.72 → 0.0.73
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/CHANGELOG.podlite +4 -0
- package/README.md +7 -0
- package/package.json +7 -6
package/CHANGELOG.podlite
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
=head1 Upcoming
|
|
4
4
|
|
|
5
|
+
=head1 0.0.73
|
|
6
|
+
|
|
7
|
+
=item shiki is a dependency again. Dropping it in 0.0.72 left every consumer without it, and their builds stopped resolving the module
|
|
8
|
+
|
|
5
9
|
=head1 0.0.72
|
|
6
10
|
|
|
7
11
|
=item a link pointing inside the document can carry a preview. The renderer takes a `linkPreview` handler, hands it the target and the text found there, and shows whatever the handler returns. Without a handler a link renders as before and nothing is looked up
|
package/README.md
CHANGED
|
@@ -65,6 +65,13 @@ npm install @podlite/to-jsx
|
|
|
65
65
|
</td></tr></table>
|
|
66
66
|
</div>
|
|
67
67
|
|
|
68
|
+
## Code highlighting
|
|
69
|
+
|
|
70
|
+
Code blocks are rendered through `@podlite/highlight`, which loads `shiki` on
|
|
71
|
+
demand. `shiki` ships as a dependency of this package, so there is nothing for
|
|
72
|
+
you to install and nothing to configure. It is split into its own chunk: a
|
|
73
|
+
reader who never meets a code block downloads none of it.
|
|
74
|
+
|
|
68
75
|
## Author
|
|
69
76
|
|
|
70
77
|
Copyright (c) 2021–2026 Aliaksandr Zahatski
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@podlite/to-jsx",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.73",
|
|
4
4
|
"description": "Render Podlite markup as React JSX components",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"sideEffects": [
|
|
@@ -25,12 +25,13 @@
|
|
|
25
25
|
"test": "yarn g:jest --passWithNoTests"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@podlite/diagram": "^0.0.
|
|
29
|
-
"@podlite/highlight": "0.0.
|
|
30
|
-
"@podlite/schema": "0.0.
|
|
28
|
+
"@podlite/diagram": "^0.0.73",
|
|
29
|
+
"@podlite/highlight": "0.0.3",
|
|
30
|
+
"@podlite/schema": "0.0.69",
|
|
31
31
|
"entities": "^4.5.0",
|
|
32
|
-
"podlite": "0.0.
|
|
33
|
-
"react-is": "^18.0.0"
|
|
32
|
+
"podlite": "0.0.82",
|
|
33
|
+
"react-is": "^18.0.0",
|
|
34
|
+
"shiki": "^3.21.0"
|
|
34
35
|
},
|
|
35
36
|
"exports": {
|
|
36
37
|
".": {
|