tex2typst 0.2.6 → 0.2.8
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 +3 -3
- package/dist/index.js +868 -770
- package/dist/parser.d.ts +2 -5
- package/dist/tex2typst.min.js +1 -1
- package/dist/types.d.ts +23 -2
- package/dist/writer.d.ts +4 -3
- package/package.json +2 -2
- package/src/index.ts +5 -4
- package/src/parser.ts +122 -104
- package/src/types.ts +30 -2
- package/src/writer.ts +274 -189
package/README.md
CHANGED
|
@@ -16,12 +16,12 @@ npm install tex2typst
|
|
|
16
16
|
## Or just loading it in a web page
|
|
17
17
|
|
|
18
18
|
```html
|
|
19
|
-
<script src="https://cdn.jsdelivr.net/npm/tex2typst@0.
|
|
19
|
+
<script src="https://cdn.jsdelivr.net/npm/tex2typst@0.2.7/dist/tex2typst.min.js"></script>
|
|
20
20
|
<!-- or -->
|
|
21
|
-
<script src="https://unpkg.com/tex2typst@0.
|
|
21
|
+
<script src="https://unpkg.com/tex2typst@0.2.7/dist/tex2typst.min.js"></script>
|
|
22
22
|
```
|
|
23
23
|
|
|
24
|
-
Replace `0.
|
|
24
|
+
Replace `0.2.7` with the latest version number in case this README is outdated.
|
|
25
25
|
|
|
26
26
|
The size of minimized library `tex2typst.min.js` is about 23 KB.
|
|
27
27
|
|