@mathcrowd/mmarked 1.7.0 → 1.7.2

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.md CHANGED
@@ -1,3 +1,16 @@
1
+ ## [1.7.2](https://cloud.mathcrowd.cn:2444/agile/frontend/mathcrowd-marked-lib/compare/v1.7.1...v1.7.2) (2024-09-25)
2
+
3
+
4
+ ### Features
5
+
6
+ * classname added/updated. ([e51de90](https://cloud.mathcrowd.cn:2444/agile/frontend/mathcrowd-marked-lib/commits/e51de90064ed641a9b229c00e7695ce77df7f4e6))
7
+
8
+
9
+
10
+ ## [1.7.1](https://cloud.mathcrowd.cn:2444/agile/frontend/mathcrowd-marked-lib/compare/v1.7.0...v1.7.1) (2024-09-24)
11
+
12
+
13
+
1
14
  # [1.7.0](https://cloud.mathcrowd.cn:2444/agile/frontend/mathcrowd-marked-lib/compare/v1.6.3...v1.7.0) (2024-09-24)
2
15
 
3
16
 
package/COPYRIGHT.md CHANGED
@@ -1,11 +1,5 @@
1
1
  All Rights Reserved
2
2
 
3
- Copyright © Mathcrowd 2016-2024 ([charles@mathcrowd.cn](mailto:charles@mathcrowd.cn))
3
+ Copyright © Mathcrowd 2016-2024 (charles@mathcrowd.cn)
4
4
 
5
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
6
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
7
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
8
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
9
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
10
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
11
- THE SOFTWARE.
5
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
package/LICENSE.md ADDED
@@ -0,0 +1,75 @@
1
+ # MathCrowd Commercial Software License Agreement
2
+
3
+ # 橘子数学商业软件许可协议
4
+
5
+ Copyright (c) 2024 MathCrowd. All rights reserved.
6
+
7
+ 版权所有 (c) 2024 橘子数学。保留所有权利。
8
+
9
+ ## 1. Definitions | 定义
10
+
11
+ - **"Software"** refers to the JavaScript library developed by MathCrowd and distributed via npm or other channels, along with its related documentation.
12
+ - **"软件"** 指由橘子数学开发并通过npm或其他渠道分发的JavaScript库及其相关文档。
13
+
14
+ - **"User"** refers to the individual or entity granted the right to use the Software.
15
+ - **"用户"** 指获得本软件使用权的个人或实体。
16
+
17
+ ## 2. License Grant | 许可授予
18
+
19
+ MathCrowd grants the User a non-exclusive, non-transferable license to use the Software in accordance with the terms of this agreement.
20
+
21
+ 橘子数学授予用户非排他性、不可转让的许可,以在符合本协议条款的情况下使用本软件。
22
+
23
+ ## 3. Usage Restrictions | 使用限制
24
+
25
+ 3.1 The User may not decompile, reverse engineer, decrypt, or attempt to derive the source code of the Software.
26
+
27
+ 3.1 用户不得对本软件进行反编译、反向工程、解密或试图以其他方式导出源代码。
28
+
29
+ 3.2 The User may not remove, alter, or obscure any copyright notices or proprietary rights notices in the Software.
30
+
31
+ 3.2 用户不得删除、更改或掩盖本软件中的任何版权声明或其他专有权声明。
32
+
33
+ 3.3 Without express written permission from MathCrowd, the User may not copy, modify, merge, publish, distribute, sublicense, or sell copies of the Software.
34
+
35
+ 3.3 未经橘子数学明确书面许可,用户不得复制、修改、合并、发布、分发、再许可或销售本软件的副本。
36
+
37
+ ## 4. Commercial Use | 商业使用
38
+
39
+ 4.1 For commercial purposes, the User must obtain an additional commercial license. Please contact charles@mathcrowd.cn for details on commercial licensing.
40
+
41
+ 4.1 对于商业用途,用户需获得额外的商业许可。请联系charles@mathcrowd.cn以获取商业许可详情。
42
+
43
+ 4.2 Commercial use of the Software is prohibited without a commercial license.
44
+
45
+ 4.2 未获得商业许可的情况下,禁止将本软件用于商业目的。
46
+
47
+ ## 5. Disclaimer | 免责声明
48
+
49
+ The Software is provided "as is," without warranty of any kind, express or implied, including but not limited to the warranties of merchantability or fitness for a particular purpose.
50
+
51
+ 本软件按"原样"提供,不提供任何明示或暗示的保证,包括但不限于适销性和特定用途适用性的保证。
52
+
53
+ ## 6. Limitation of Liability | 责任限制
54
+
55
+ In no event shall MathCrowd be liable for any direct, indirect, incidental, special, punitive, or consequential damages arising out of the use or inability to use the Software.
56
+
57
+ 在任何情况下,橘子数学均不对因使用或无法使用本软件而导致的任何直接、间接、偶然、特殊、惩罚性或后果性损害承担责任。
58
+
59
+ ## 7. Termination | 终止
60
+
61
+ If the User breaches any term of this agreement, MathCrowd reserves the right to terminate the license immediately. Upon termination, the User must cease use of the Software and destroy all copies.
62
+
63
+ 如果用户违反本协议的任何条款,橘子数学有权立即终止本许可。终止后,用户必须停止使用本软件并销毁所有副本。
64
+
65
+ ## 8. Governing Law | 适用法律
66
+
67
+ This agreement shall be governed by and construed in accordance with the laws of China.
68
+
69
+ 本协议受中国法律管辖并按其解释。
70
+
71
+ ---
72
+
73
+ By using the Software, the User agrees to be bound by this license agreement.
74
+
75
+ 通过使用本软件,用户表示同意接受本许可协议的约束。
package/README.md CHANGED
@@ -92,19 +92,9 @@ Mathcrowd is an innovative startup founded by experienced independent developers
92
92
 
93
93
  ## 📄 License
94
94
 
95
- All Rights Reserved
95
+ [LICENSE](./LICENSE.md)
96
96
 
97
- Copyright © Mathcrowd 2016-2024 (charles@mathcrowd.cn)
98
-
99
- ```
100
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
101
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
102
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
103
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
104
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
105
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
106
- THE SOFTWARE.
107
- ```
97
+ For commercial use, please contact [charles@mathcrowd.cn] for details on commercial licensing.
108
98
 
109
99
  ## 🤝 Contributing
110
100
 
package/demo.html CHANGED
@@ -12,8 +12,8 @@
12
12
  <script>
13
13
  const { tex2svg, renderMarkdown } = marked
14
14
  document.getElementById('content').innerHTML =
15
- tex2svg(renderMarkdown('# Marked in the browser \n\n $x^2+y^2=1$ \n\nRendered by **mathcrowd-marked-lib**.').parsed);
16
- console.log(renderMarkdown('# Marked in the browser\n\nRendered by **marked**.').lexed)
15
+ tex2svg(renderMarkdown('# Marked in the browser \n\n $x^2+y^2=1$ \n\nRendered by **MMarked**.').parsed);
16
+ console.log(renderMarkdown('# Marked in the browser\n\nRendered by **MMarked**.').lexed)
17
17
  </script>
18
18
  </body>
19
19