@podlite/formula 0.0.18 → 0.0.20
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 +22 -56
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,42 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
This is an inline example: F< y = \sqrt{3x-1}+(1+x)^2 >
|
|
1
|
+
<p align="center">
|
|
2
|
+
<picture>
|
|
3
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/podlite/podlite/main/assets/podlite-mark-core-dark.svg">
|
|
4
|
+
<img src="https://raw.githubusercontent.com/podlite/podlite/main/assets/podlite-mark-core.svg" width="350" alt="@podlite/formula">
|
|
5
|
+
</picture>
|
|
6
|
+
</p>
|
|
7
|
+
<p align="center"><em>render LaTeX math formulas in Podlite documents — MathJax-powered</em></p>
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
npm install @podlite/formula
|
|
12
11
|
```
|
|
13
12
|
|
|
14
|
-
Formulas can be input in Markdown mode.
|
|
15
|
-
|
|
16
|
-
```
|
|
17
|
-
=begin markdown
|
|
18
|
-
|
|
19
|
-
* this is a example of `formula` inside markdown: $y = \sqrt{3x-1}+(1+x)^2$
|
|
20
|
-
|
|
21
|
-
and block:
|
|
22
|
-
|
|
23
|
-
$$
|
|
24
|
-
\left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right)
|
|
25
|
-
$$
|
|
26
|
-
|
|
27
|
-
or
|
|
28
|
-
|
|
29
|
-
$$
|
|
30
|
-
\operatorname{ker} f=\{g\in G:f(g)=e_{H}\}{\mbox{.}}
|
|
31
|
-
$$
|
|
32
|
-
|
|
33
|
-
=end markdown
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
[example at pod6.in](http://pod6.in/#p=%3Dfor+formula+%3Acaption%28%27The+Cauchy-Schwarz+Inequality%27%29%0A+++%5Cleft%28+%5Csum_%7Bk%3D1%7D%5En+a_k+b_k+%5Cright%29%5E2+%5Cleq+%5Cleft%28+%5Csum_%7Bk%3D1%7D%5En+a_k%5E2+%5Cright%29+%5Cleft%28+%5Csum_%7Bk%3D1%7D%5En+b_k%5E2+%5Cright%29%0A%0A%0A%0AThis+is+an+inline++example%3A+F%3C+y+%3D+%5Csqrt%7B3x-1%7D%2B%281%2Bx%29%5E2+%3E%0A%0A%3Dbegin+markdown%0A%0A++*+this+is+a+example+of+%60formula%60+inside+markdown%3A+%24y+%3D+%5Csqrt%7B3x-1%7D%2B%281%2Bx%29%5E2%24%0A++%0A++and+block%3A+%0A++%0A++%24%24%0A++%5Cleft%28+%5Csum_%7Bk%3D1%7D%5En+a_k+b_k+%5Cright%29%5E2+%5Cleq+%5Cleft%28+%5Csum_%7Bk%3D1%7D%5En+a_k%5E2+%5Cright%29+%5Cleft%28+%5Csum_%7Bk%3D1%7D%5En+b_k%5E2+%5Cright%29%0A++%24%24%0A++%0A++%0A%0A%3Dend+markdown%0A%0A)
|
|
37
|
-
|
|
38
|
-
## Useful links
|
|
39
|
-
|
|
40
13
|
<div align="center">
|
|
41
14
|
<table border=0><tr><td valign=top><div align="center">
|
|
42
15
|
|
|
@@ -45,7 +18,7 @@ $$
|
|
|
45
18
|
</div>
|
|
46
19
|
|
|
47
20
|
- [Source](https://github.com/podlite/podlite-specs)
|
|
48
|
-
- [
|
|
21
|
+
- [HTML](https://podlite.org/specification)
|
|
49
22
|
- [Discussions](https://github.com/podlite/podlite-specs/discussions)
|
|
50
23
|
|
|
51
24
|
<div align="center">
|
|
@@ -60,48 +33,41 @@ $$
|
|
|
60
33
|
|
|
61
34
|
</td><td valign=top><div align="center">
|
|
62
35
|
|
|
63
|
-
##### publishing
|
|
36
|
+
##### publishing
|
|
64
37
|
|
|
65
38
|
</div>
|
|
66
39
|
|
|
67
40
|
- [Podlite-web](https://github.com/podlite/podlite-web)
|
|
68
41
|
- [How-to article](https://zahatski.com/2022/8/23/1/start-you-own-blog-site-with-podlite-for-web)
|
|
69
|
-
- [Issues](https://github.com/podlite/podlite-specs/issues)
|
|
70
42
|
- [Changelog](https://github.com/podlite/podlite-web/releases)
|
|
71
|
-
- [Practical case: Raku knowledge base ](https://raku-knowledge-base.podlite.org/)
|
|
72
43
|
|
|
73
44
|
</td><td valign=top><div align="center">
|
|
74
|
-
|
|
75
|
-
##### desktop
|
|
45
|
+
|
|
46
|
+
##### desktop editor
|
|
76
47
|
|
|
77
48
|
</div>
|
|
78
49
|
|
|
79
|
-
- [Podlite-desktop](https://github.com/podlite/podlite-desktop)
|
|
80
50
|
- [Releases](https://github.com/podlite/podlite-desktop/releases)
|
|
81
51
|
- [Issues](https://github.com/podlite/podlite-desktop/issues)
|
|
82
|
-
- Stores:
|
|
83
|
-
|
|
84
|
-
- [Windows](https://www.microsoft.com/store/apps/9NVNT9SNQJM8)
|
|
85
|
-
- [Mac App](https://apps.apple.com/us/app/podlite/id1526511053)
|
|
52
|
+
- Stores: [Mac](https://apps.apple.com/us/app/podlite/id1526511053) · [Windows](https://www.microsoft.com/store/apps/9NVNT9SNQJM8) · [Linux](https://snapcraft.io/podlite)
|
|
53
|
+
|
|
86
54
|
</td><td valign=top><div align="center">
|
|
87
55
|
|
|
88
|
-
#####
|
|
56
|
+
##### resources
|
|
89
57
|
|
|
90
|
-
|
|
58
|
+
</div>
|
|
91
59
|
|
|
92
|
-
- [Roadmap](https://podlite.org/#Roadmap)
|
|
93
|
-
- [github.com/podlite](https://github.com/podlite/) 🤩
|
|
94
60
|
- [podlite.org](https://podlite.org)
|
|
95
61
|
- [pod6.in](https://pod6.in/)
|
|
96
|
-
- [
|
|
97
|
-
- [Funding
|
|
62
|
+
- [github.com/podlite](https://github.com/podlite/)
|
|
63
|
+
- [Funding](https://opencollective.com/podlite)
|
|
98
64
|
|
|
99
65
|
</td></tr></table>
|
|
100
66
|
</div>
|
|
101
67
|
|
|
102
|
-
##
|
|
68
|
+
## Author
|
|
103
69
|
|
|
104
|
-
Copyright (c)
|
|
70
|
+
Copyright (c) 2021–2026 Aliaksandr Zahatski
|
|
105
71
|
|
|
106
72
|
## License
|
|
107
73
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@podlite/formula",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.20",
|
|
4
4
|
"description": "Render LaTeX math formulas in Podlite documents — MathJax-powered",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"homepage": "https://podlite.org",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"module": "./esm/index.js"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@podlite/schema": "0.0.
|
|
52
|
+
"@podlite/schema": "0.0.38",
|
|
53
53
|
"react-is": "^18.0.0"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|