@aiquants/markdown 12.0.0 → 12.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 +3 -1
- package/dist/converter/NOTICES.md +2 -2
- package/dist/converter/worker.js +1 -1
- package/dist/converter.wasm +0 -0
- package/package.json +13 -13
package/README.md
CHANGED
|
@@ -1139,7 +1139,9 @@ Links written for GitHub or VS Code (`[概要へ](#概要)`, `[使い方](#api-
|
|
|
1139
1139
|
Stricter than Pandoc, white space is Unicode's (the ideographic space included) and a `$` at the start of a line never closes. So `$20,000 and $30,000`, `$100〜$200`, `$HOME and $PATH` and `$ x $` are text, while `$x$`, `$a\$b$`, `$a\ $` and `$\text{for all $x$}$` are formulas; write a literal dollar as `\$` or inside a code span.
|
|
1140
1140
|
- Within a line of text, `$$ … $$` is inline math too (`Cost $$ x $$ here` is the formula `x`): it ends at the next run of as many `$`, with white space allowed inside its ends. An inline formula may continue on the paragraph's next line.
|
|
1141
1141
|
- Display math: a multi-line block, or a whole line `$$ e^{i\theta} = \cos\theta + i\sin\theta $$` (at most three spaces of indentation; it can follow a paragraph line directly). Both forms render the same. Inside code blocks the lines stay code.
|
|
1142
|
-
- A multi-line block opens on a line of two or more `$` whose rest holds no
|
|
1142
|
+
- A multi-line block opens on a line of two or more `$` whose rest holds no `$`, and that rest is the formula's first line. It closes on a line ending in two or more `$` that are not escaped as `\$`, and the text before them is the formula's last line, so `$$\begin{aligned}` … `\end{aligned}$$` is the same block as the form with each `$$` on its own line. A whole line `$$ x $$` inside a block and a line with a TeX comment (`a % cost $$`) are formula lines, not closing lines.
|
|
1143
|
+
- A line opens a block only when a closing line follows it, and a line that also holds formula text only when that closing line comes before the next blank line. Otherwise it stays paragraph text: a `$$` that nothing closes shows as text, and the blocks after it keep their shape. The check parses no blocks, so a line ending in `$$` inside a later fenced code block counts as a closing line.
|
|
1144
|
+
- Any other `$$ … $$` — within a line of text, or followed by more text on its line (`$$E=mc^2$$.`) — is inline math in its paragraph.
|
|
1143
1145
|
- A formula reaches KaTeX exactly as written: `0<x<1`, `a & b`, quotes and `x^2 + y^2` included (the converter escapes the formula's text once, the viewer reads the text back once, and the subscript, superscript and highlight syntax never applies inside a formula).
|
|
1144
1146
|
|
|
1145
1147
|
```markdown
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# Third-party notices of the browser converter
|
|
2
2
|
|
|
3
3
|
`converter.wasm` is the Go program `cmd/markdown-wasm` of `packages/go/markdown-api`, compiled with the Go toolchain
|
|
4
|
-
go1.27.
|
|
4
|
+
go1.27.3; `converter/worker.js` starts with that toolchain's `wasm_exec.js`. They contain the following software.
|
|
5
5
|
|
|
6
|
-
## The Go toolchain go1.27.
|
|
6
|
+
## The Go toolchain go1.27.3 (the runtime, the standard library and `wasm_exec.js`)
|
|
7
7
|
|
|
8
8
|
```text
|
|
9
9
|
Copyright 2009 The Go Authors.
|
package/dist/converter/worker.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! The first part of this file is wasm_exec.js of the Go toolchain go1.27.
|
|
1
|
+
/*! The first part of this file is wasm_exec.js of the Go toolchain go1.27.3, under the following license. See NOTICES.md for the converter's notices.
|
|
2
2
|
|
|
3
3
|
Copyright 2009 The Go Authors.
|
|
4
4
|
|
package/dist/converter.wasm
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aiquants/markdown",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.2.0",
|
|
4
4
|
"description": "Markdown renderer for React with advanced features",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -116,15 +116,15 @@
|
|
|
116
116
|
"zenn-content-css": "^0.1.162"
|
|
117
117
|
},
|
|
118
118
|
"peerDependencies": {
|
|
119
|
-
"@aiquants/spreadsheet": "^0.
|
|
119
|
+
"@aiquants/spreadsheet": "^0.19.0",
|
|
120
120
|
"react": "^19.2.7",
|
|
121
121
|
"react-dom": "^19.2.7",
|
|
122
122
|
"vite": "^7.0.6"
|
|
123
123
|
},
|
|
124
124
|
"devDependencies": {
|
|
125
125
|
"@aiquants/platform-packaging": "0.1.1",
|
|
126
|
-
"@aiquants/spreadsheet": "0.
|
|
127
|
-
"@aiquants/virtualscroll": "3.
|
|
126
|
+
"@aiquants/spreadsheet": "0.19.0",
|
|
127
|
+
"@aiquants/virtualscroll": "3.23.1",
|
|
128
128
|
"@bufbuild/protoc-gen-es": "^1.10.1",
|
|
129
129
|
"@connectrpc/protoc-gen-connect-es": "^1.7.0",
|
|
130
130
|
"@tailwindcss/cli": "^4.1.18",
|
|
@@ -171,12 +171,12 @@
|
|
|
171
171
|
"access": "public"
|
|
172
172
|
},
|
|
173
173
|
"optionalDependencies": {
|
|
174
|
-
"@aiquants/markdown-linux-x64": "12.
|
|
175
|
-
"@aiquants/markdown-linux-arm64": "12.
|
|
176
|
-
"@aiquants/markdown-darwin-x64": "12.
|
|
177
|
-
"@aiquants/markdown-darwin-arm64": "12.
|
|
178
|
-
"@aiquants/markdown-win32-x64": "12.
|
|
179
|
-
"@aiquants/markdown-win32-arm64": "12.
|
|
174
|
+
"@aiquants/markdown-linux-x64": "12.2.0",
|
|
175
|
+
"@aiquants/markdown-linux-arm64": "12.2.0",
|
|
176
|
+
"@aiquants/markdown-darwin-x64": "12.2.0",
|
|
177
|
+
"@aiquants/markdown-darwin-arm64": "12.2.0",
|
|
178
|
+
"@aiquants/markdown-win32-x64": "12.2.0",
|
|
179
|
+
"@aiquants/markdown-win32-arm64": "12.2.0"
|
|
180
180
|
},
|
|
181
181
|
"scripts": {
|
|
182
182
|
"build": "pnpm -w run workspace:build \"$PNPM_SCRIPT_SRC_DIR\"",
|
|
@@ -207,8 +207,8 @@
|
|
|
207
207
|
"license-check": "pnpm dlx license-checker --production --onlyAllow \"MIT;Apache-2.0;BSD-2-Clause;BSD-3-Clause;ISC;Unlicense\"",
|
|
208
208
|
"license-check:json": "pnpm dlx license-checker --production --onlyAllow \"MIT;Apache-2.0;BSD-2-Clause;BSD-3-Clause;ISC;Unlicense\" --json",
|
|
209
209
|
"clean": "rimraf dist",
|
|
210
|
-
"publish:patch": "node scripts/build-platform-packages.mjs --preflight && pnpm run typecheck && pnpm run --if-present test && pnpm run build && node ../../.config/scripts/check-publish-leaks.mjs && pnpm version patch --no-git-tag-version --no-git-checks && pnpm run build:platforms && pnpm run publish:platforms && pnpm publish --no-git-checks",
|
|
211
|
-
"publish:minor": "node scripts/build-platform-packages.mjs --preflight && pnpm run typecheck && pnpm run --if-present test && pnpm run build && node ../../.config/scripts/check-publish-leaks.mjs && pnpm version minor --no-git-tag-version --no-git-checks && pnpm run build:platforms && pnpm run publish:platforms && pnpm publish --no-git-checks",
|
|
212
|
-
"publish:major": "node scripts/build-platform-packages.mjs --preflight && pnpm run typecheck && pnpm run --if-present test && pnpm run build && node ../../.config/scripts/check-publish-leaks.mjs && pnpm version major --no-git-tag-version --no-git-checks && pnpm run build:platforms && pnpm run publish:platforms && pnpm publish --no-git-checks"
|
|
210
|
+
"publish:patch": "node scripts/build-platform-packages.mjs --preflight && pnpm run typecheck && pnpm run --if-present test && pnpm run build && node ../../.config/scripts/check-publish-leaks.mjs && node ../../.config/scripts/check-peer-floors.mjs --bump patch && pnpm version patch --no-git-tag-version --no-git-checks && pnpm run build:platforms && pnpm run publish:platforms && pnpm publish --no-git-checks",
|
|
211
|
+
"publish:minor": "node scripts/build-platform-packages.mjs --preflight && pnpm run typecheck && pnpm run --if-present test && pnpm run build && node ../../.config/scripts/check-publish-leaks.mjs && node ../../.config/scripts/check-peer-floors.mjs --bump minor && pnpm version minor --no-git-tag-version --no-git-checks && pnpm run build:platforms && pnpm run publish:platforms && pnpm publish --no-git-checks",
|
|
212
|
+
"publish:major": "node scripts/build-platform-packages.mjs --preflight && pnpm run typecheck && pnpm run --if-present test && pnpm run build && node ../../.config/scripts/check-publish-leaks.mjs && node ../../.config/scripts/check-peer-floors.mjs --bump major && pnpm version major --no-git-tag-version --no-git-checks && pnpm run build:platforms && pnpm run publish:platforms && pnpm publish --no-git-checks"
|
|
213
213
|
}
|
|
214
214
|
}
|