@mtcute/markdown-parser 0.24.0 → 0.25.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 +14 -0
- package/index.cjs +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -75,6 +75,20 @@ followed with a line break, and ends with <code>\`\`\`</code> (triple backtick),
|
|
|
75
75
|
| <pre><code>\`\`\`<br>hello\`\`\`</code></pre> | `hello` | `<pre>hello</pre>` |
|
|
76
76
|
| <pre><code>\`\`\`javascript<br>const a = ``<br>\`\`\`</code></pre> | <code>const a = ``</code> | <pre><code><pre language="javascript"><br> const a = ``<br></pre></code></pre> |
|
|
77
77
|
|
|
78
|
+
### Blockquote
|
|
79
|
+
|
|
80
|
+
Blockquote is a block of text formatted as a quote.
|
|
81
|
+
|
|
82
|
+
Every line in a blockquote is prefixed with `>` character. Due to limitations of markdown,
|
|
83
|
+
it is not possible to define expandable blockquotes, prefer using HTML instead.
|
|
84
|
+
|
|
85
|
+
```
|
|
86
|
+
> This is a blockquote.
|
|
87
|
+
> Some more text.
|
|
88
|
+
> And some more.
|
|
89
|
+
And this is no longer a blockquote.
|
|
90
|
+
```
|
|
91
|
+
|
|
78
92
|
### Links
|
|
79
93
|
|
|
80
94
|
Links are parsed exactly the same as standard markdown (except references are not supported).
|
package/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
if (typeof globalThis !== "undefined" && !globalThis._MTCUTE_CJS_DEPRECATION_WARNED) {
|
|
2
2
|
globalThis._MTCUTE_CJS_DEPRECATION_WARNED = true;
|
|
3
|
-
console.warn("[@mtcute/markdown-parser] CommonJS
|
|
3
|
+
console.warn("[@mtcute/markdown-parser] CommonJS bundles are deprecated. They will be removed completely in one of the upcoming releases. No support is provided for CommonJS users. Please consider switching to ESM, it's " + (/* @__PURE__ */ new Date()).getFullYear() + " already.");
|
|
4
4
|
console.warn("[@mtcute/markdown-parser] Learn more about switching to ESM: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c");
|
|
5
5
|
}
|
|
6
6
|
"use strict";
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mtcute/markdown-parser",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.25.0",
|
|
5
5
|
"description": "Markdown entities parser for mtcute",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@mtcute/core": "^0.
|
|
8
|
+
"@mtcute/core": "^0.25.0",
|
|
9
9
|
"long": "5.2.3"
|
|
10
10
|
},
|
|
11
11
|
"exports": {
|