tex2typst 0.0.19 → 0.2.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 CHANGED
@@ -16,12 +16,14 @@ 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.0.19/dist/tex2typst.min.js"></script>
19
+ <script src="https://cdn.jsdelivr.net/npm/tex2typst@0.1.20/dist/tex2typst.min.js"></script>
20
20
  <!-- or -->
21
- <script src="https://unpkg.com/tex2typst@0.0.19/dist/tex2typst.min.js"></script>
21
+ <script src="https://unpkg.com/tex2typst@0.1.20/dist/tex2typst.min.js"></script>
22
22
  ```
23
23
 
24
- Replace `0.0.19` with the latest version number in case this README is outdated.
24
+ Replace `0.1.20` with the latest version number in case this README is outdated.
25
+
26
+ The size of minimized library `tex2typst.min.js` is about 23 KB.
25
27
 
26
28
  ## Usage
27
29
 
@@ -60,7 +62,7 @@ graph LR
60
62
  tex[TeX code] --parser--> ast[TeX AST] --writer--> typst[Typst code]
61
63
  ```
62
64
 
63
- - parser: Implemented in function `parseTex()`. At present, it depends on the parser implemented by [KaTeX](https://github.com/KaTeX/KaTeX).
65
+ - parser: Implemented in class `LatexParser()`.
64
66
  - writer: Implemented in class `TypstWriter()`
65
67
 
66
68
  ## Contributing