@quartz-community/github-flavored-markdown 1.0.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/CHANGELOG.md +22 -0
- package/package.json +4 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- 020474b: Run before `obsidian-flavored-markdown` (`defaultOrder` 40 → 30)
|
|
8
|
+
|
|
9
|
+
A combined micromark extension prepends its constructs, so where two plugins claim
|
|
10
|
+
the same character the **later-registered** one wins. With this plugin ordered after
|
|
11
|
+
`obsidian-flavored-markdown`, GFM owned every character both wanted — `~` most
|
|
12
|
+
visibly — and Obsidian's own tokenizers could not run at all.
|
|
13
|
+
|
|
14
|
+
Obsidian's strikethrough is not GFM's: it closes on the first `~~` it reaches,
|
|
15
|
+
honours no escape, and has no single-tilde form. Reproducing that needs this plugin
|
|
16
|
+
to register first.
|
|
17
|
+
|
|
18
|
+
Measured on `remark-obsidian`'s recorded Obsidian corpus: the reorder on its own is
|
|
19
|
+
behaviour-neutral (0 cases fixed, 0 broken, which also clears the one real risk —
|
|
20
|
+
both plugins claim `[`, GFM's footnote against Obsidian's wikilink), and it lets 21
|
|
21
|
+
strikethrough cases match with no regression.
|
|
22
|
+
|
|
23
|
+
Rendered output changes for notes using `~~`, hence the major bump.
|
|
24
|
+
|
|
3
25
|
## 1.0.0
|
|
4
26
|
|
|
5
27
|
### Major Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quartz-community/github-flavored-markdown",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "GitHub Flavored Markdown transformer plugin for Quartz",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -42,7 +42,8 @@
|
|
|
42
42
|
"typecheck": "tsc --noEmit",
|
|
43
43
|
"check": "npm run typecheck && npm run lint && npm run format && npm run test",
|
|
44
44
|
"prepublishOnly": "npm run build",
|
|
45
|
-
"release": "npm run build && changeset publish"
|
|
45
|
+
"release": "npm run build && changeset publish",
|
|
46
|
+
"version-packages": "changeset version && npm install --package-lock-only --ignore-scripts --no-audit --no-fund"
|
|
46
47
|
},
|
|
47
48
|
"peerDependencies": {
|
|
48
49
|
"preact": "^10.0.0"
|
|
@@ -85,7 +86,7 @@
|
|
|
85
86
|
"version": "1.0.0",
|
|
86
87
|
"quartzVersion": ">=5.0.0",
|
|
87
88
|
"dependencies": [],
|
|
88
|
-
"defaultOrder":
|
|
89
|
+
"defaultOrder": 30,
|
|
89
90
|
"defaultEnabled": true,
|
|
90
91
|
"defaultOptions": {
|
|
91
92
|
"enableSmartyPants": true,
|