@quartz-community/remark-obsidian 1.1.0 → 2.0.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/LICENSE-THIRD-PARTY.md +162 -0
- package/README.md +129 -1
- package/dist/index.d.ts +238 -2
- package/dist/index.js +14336 -1086
- package/dist/index.js.map +1 -1
- package/package.json +51 -6
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quartz-community/remark-obsidian",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "Remark plugin
|
|
3
|
+
"version": "2.0.0",
|
|
4
|
+
"description": "Remark plugin that parses Markdown the way Obsidian does: wikilinks and embeds, callouts, highlights, tags, %% comments, math, footnotes and inline footnotes, frontmatter and custom task boxes. A legacy preset reproduces Obsidian's own parser and positions; a strict preset follows CommonMark and GFM.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"exports": {
|
|
@@ -17,38 +17,83 @@
|
|
|
17
17
|
"files": [
|
|
18
18
|
"dist",
|
|
19
19
|
"README.md",
|
|
20
|
-
"LICENSE"
|
|
20
|
+
"LICENSE",
|
|
21
|
+
"LICENSE-THIRD-PARTY.md"
|
|
21
22
|
],
|
|
22
23
|
"scripts": {
|
|
23
24
|
"build": "tsup",
|
|
24
25
|
"dev": "tsup --watch",
|
|
25
26
|
"test": "vitest run",
|
|
26
|
-
"
|
|
27
|
+
"test:parity": "vitest run test/parity",
|
|
28
|
+
"parity:record": "NODE_OPTIONS=--conditions=development wdio run ./wdio.conf.mts",
|
|
29
|
+
"format": "prettier --check .",
|
|
30
|
+
"format:write": "prettier --write .",
|
|
31
|
+
"typecheck": "tsc --noEmit && tsc -p tsconfig.parity.json --noEmit",
|
|
27
32
|
"prepublishOnly": "npm run build",
|
|
28
|
-
"release": "npm run build && changeset publish"
|
|
33
|
+
"release": "npm run build && changeset publish",
|
|
34
|
+
"lint": "eslint 'src/**/*.ts'"
|
|
29
35
|
},
|
|
30
36
|
"devDependencies": {
|
|
37
|
+
"@changesets/cli": "^2.29.2",
|
|
38
|
+
"@obsidian-typings/obsidian-public-latest": "^6.38.0",
|
|
39
|
+
"@quartz-community/rehype-obsidian": "^1.0.0",
|
|
40
|
+
"@stryker-mutator/core": "^10.0.0",
|
|
41
|
+
"@stryker-mutator/vitest-runner": "^10.0.0",
|
|
42
|
+
"@types/js-yaml": "^4.0.9",
|
|
31
43
|
"@types/mdast": "^4.0.4",
|
|
44
|
+
"@types/mocha": "^10.0.10",
|
|
32
45
|
"@types/node": "^22.0.0",
|
|
46
|
+
"@vitest/coverage-v8": "^2.1.9",
|
|
47
|
+
"@wdio/cli": "^9.32.0",
|
|
48
|
+
"@wdio/globals": "^9.31.3",
|
|
49
|
+
"@wdio/local-runner": "^9.32.0",
|
|
50
|
+
"@wdio/mocha-framework": "^9.32.0",
|
|
51
|
+
"character-entities-legacy": "^3.0.0",
|
|
52
|
+
"decode-named-character-reference": "^1.3.0",
|
|
53
|
+
"devlop": "^1.1.0",
|
|
54
|
+
"eslint": "^10.12.0",
|
|
55
|
+
"eslint-plugin-redos": "^4.5.0",
|
|
56
|
+
"js-yaml": "^4.3.2",
|
|
57
|
+
"mdast-util-assert": "^5.0.0",
|
|
33
58
|
"mdast-util-from-markdown": "^2.0.0",
|
|
59
|
+
"mdast-util-frontmatter": "^2.0.1",
|
|
60
|
+
"mdast-util-gfm-table": "^2.0.0",
|
|
34
61
|
"mdast-util-math": "^3.0.0",
|
|
35
62
|
"mdast-util-to-markdown": "^2.1.0",
|
|
63
|
+
"micromark-core-commonmark": "^2.0.4",
|
|
64
|
+
"micromark-extension-frontmatter": "^2.0.0",
|
|
36
65
|
"micromark-extension-math": "^3.0.0",
|
|
66
|
+
"micromark-factory-space": "^2.0.1",
|
|
67
|
+
"micromark-util-character": "^2.1.1",
|
|
68
|
+
"micromark-util-decode-string": "^2.0.1",
|
|
37
69
|
"micromark-util-symbol": "^2.0.0",
|
|
38
70
|
"micromark-util-types": "^2.0.0",
|
|
71
|
+
"mocha": "^11.8.0",
|
|
72
|
+
"obsidian": "^1.13.1",
|
|
73
|
+
"prettier": "^3.9.9",
|
|
39
74
|
"rehype-raw": "^7.0.0",
|
|
40
75
|
"rehype-stringify": "^10.0.1",
|
|
76
|
+
"remark-breaks": "^4.0.0",
|
|
77
|
+
"remark-frontmatter": "^5.0.0",
|
|
41
78
|
"remark-gfm": "^4.0.1",
|
|
42
79
|
"remark-math": "^6.0.0",
|
|
43
80
|
"remark-parse": "^11.0.0",
|
|
44
81
|
"remark-rehype": "^11.1.2",
|
|
45
82
|
"remark-stringify": "^11.0.0",
|
|
83
|
+
"remarkFootnotes2": "npm:remark-footnotes@^2.0.0",
|
|
84
|
+
"remarkMath3": "npm:remark-math@^3.0.1",
|
|
85
|
+
"remarkParse8": "npm:remark-parse@^8.0.3",
|
|
46
86
|
"tsup": "^8.5.0",
|
|
87
|
+
"tsx": "^4.23.15",
|
|
47
88
|
"typescript": "^5.9.3",
|
|
89
|
+
"typescript-eslint": "^8.71.0",
|
|
48
90
|
"unified": "^11.0.5",
|
|
91
|
+
"unified9": "npm:unified@^9.2.2",
|
|
49
92
|
"unist-util-visit": "^5.0.0",
|
|
50
93
|
"vitest": "^2.1.9",
|
|
51
|
-
"
|
|
94
|
+
"wdio-obsidian-reporter": "^3.2.1",
|
|
95
|
+
"wdio-obsidian-service": "^3.2.1",
|
|
96
|
+
"webdriverio": "^9.32.0"
|
|
52
97
|
},
|
|
53
98
|
"engines": {
|
|
54
99
|
"node": ">=22"
|