@podlite/formula 0.0.18 → 0.0.19
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 +6 -97
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,107 +1,16 @@
|
|
|
1
1
|
# @podlite/formula
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
render LaTeX math formulas in Podlite documents — MathJax-powered
|
|
4
4
|
|
|
5
|
+
```sh
|
|
6
|
+
npm install @podlite/formula
|
|
5
7
|
```
|
|
6
|
-
=for formula :caption('The Cauchy-Schwarz Inequality')
|
|
7
|
-
\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)
|
|
8
8
|
|
|
9
|
+
Part of the [Podlite](https://podlite.org) ecosystem — [source](https://github.com/podlite/podlite) · [specification](https://podlite.org/specification) · [online editor](https://pod6.in/)
|
|
9
10
|
|
|
11
|
+
## Author
|
|
10
12
|
|
|
11
|
-
|
|
12
|
-
```
|
|
13
|
-
|
|
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
|
-
<div align="center">
|
|
41
|
-
<table border=0><tr><td valign=top><div align="center">
|
|
42
|
-
|
|
43
|
-
##### specification
|
|
44
|
-
|
|
45
|
-
</div>
|
|
46
|
-
|
|
47
|
-
- [Source](https://github.com/podlite/podlite-specs)
|
|
48
|
-
- [in HTML](https://podlite.org/specification)
|
|
49
|
-
- [Discussions](https://github.com/podlite/podlite-specs/discussions)
|
|
50
|
-
|
|
51
|
-
<div align="center">
|
|
52
|
-
|
|
53
|
-
##### implementation
|
|
54
|
-
|
|
55
|
-
</div>
|
|
56
|
-
|
|
57
|
-
- [Source](https://github.com/podlite/podlite)
|
|
58
|
-
- [Changelog](https://github.com/podlite/podlite/releases)
|
|
59
|
-
- [Issues](https://github.com/podlite/podlite/issues)
|
|
60
|
-
|
|
61
|
-
</td><td valign=top><div align="center">
|
|
62
|
-
|
|
63
|
-
##### publishing system
|
|
64
|
-
|
|
65
|
-
</div>
|
|
66
|
-
|
|
67
|
-
- [Podlite-web](https://github.com/podlite/podlite-web)
|
|
68
|
-
- [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
|
-
- [Changelog](https://github.com/podlite/podlite-web/releases)
|
|
71
|
-
- [Practical case: Raku knowledge base ](https://raku-knowledge-base.podlite.org/)
|
|
72
|
-
|
|
73
|
-
</td><td valign=top><div align="center">
|
|
74
|
-
|
|
75
|
-
##### desktop viewer/editor
|
|
76
|
-
|
|
77
|
-
</div>
|
|
78
|
-
|
|
79
|
-
- [Podlite-desktop](https://github.com/podlite/podlite-desktop)
|
|
80
|
-
- [Releases](https://github.com/podlite/podlite-desktop/releases)
|
|
81
|
-
- [Issues](https://github.com/podlite/podlite-desktop/issues)
|
|
82
|
-
- Stores:
|
|
83
|
-
- [Linux](https://snapcraft.io/podlite)
|
|
84
|
-
- [Windows](https://www.microsoft.com/store/apps/9NVNT9SNQJM8)
|
|
85
|
-
- [Mac App](https://apps.apple.com/us/app/podlite/id1526511053)
|
|
86
|
-
</td><td valign=top><div align="center">
|
|
87
|
-
|
|
88
|
-
##### online resurces
|
|
89
|
-
|
|
90
|
-
</div>
|
|
91
|
-
|
|
92
|
-
- [Roadmap](https://podlite.org/#Roadmap)
|
|
93
|
-
- [github.com/podlite](https://github.com/podlite/) 🤩
|
|
94
|
-
- [podlite.org](https://podlite.org)
|
|
95
|
-
- [pod6.in](https://pod6.in/)
|
|
96
|
-
- [Podlite project updates](https://podlite.org/contents)
|
|
97
|
-
- [Funding the ongoing development](https://opencollective.com/podlite)
|
|
98
|
-
|
|
99
|
-
</td></tr></table>
|
|
100
|
-
</div>
|
|
101
|
-
|
|
102
|
-
## AUTHOR
|
|
103
|
-
|
|
104
|
-
Copyright (c) 2024-2025 Aliaksandr Zahatski
|
|
13
|
+
Copyright (c) 2021–2026 Aliaksandr Zahatski
|
|
105
14
|
|
|
106
15
|
## License
|
|
107
16
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@podlite/formula",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.19",
|
|
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.37",
|
|
53
53
|
"react-is": "^18.0.0"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|