mdast-util-block-id 1.0.0 → 1.0.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/README.md +1 -2
- package/lib/index.d.ts +10 -0
- package/lib/index.d.ts.map +1 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
# mdast-util-block-id
|
|
2
2
|
|
|
3
|
-
[mdast][]
|
|
4
|
-
and convert them to [GFM footnotes][gfm-footnote].
|
|
3
|
+
[mdast][] extension to parse [Obsidian]-style block ids.
|
|
5
4
|
Intended to be used with [micromark-extension-block-id][].
|
|
6
5
|
|
|
7
6
|
## Install
|
package/lib/index.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Create an extension for `mdast-util-from-markdown` to enable GFM footnotes
|
|
3
|
+
* in markdown.
|
|
4
|
+
*
|
|
5
|
+
* @returns {FromMarkdownExtension}
|
|
6
|
+
* Extension for `mdast-util-from-markdown`.
|
|
7
|
+
*/
|
|
8
|
+
export function blockIdFromMarkdown(): FromMarkdownExtension;
|
|
9
|
+
import type { Extension as FromMarkdownExtension } from "mdast-util-from-markdown";
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.js"],"names":[],"mappings":"AAIA;;;;;;GAMG;AACH,uCAHa,qBAAqB,CAcjC;wDAtBmG,0BAA0B"}
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"repository": "https://github.com/jajaperson/unified-block-id/tree/main/packages/mdast-util-block-id",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
7
|
-
"version": "1.0.
|
|
7
|
+
"version": "1.0.2",
|
|
8
8
|
"keywords": [
|
|
9
9
|
"remark",
|
|
10
10
|
"markdown",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"mdast-util-from-markdown": "^2.0.3",
|
|
31
|
-
"micromark-extension-block-id": "1.0.
|
|
31
|
+
"micromark-extension-block-id": "1.0.1"
|
|
32
32
|
},
|
|
33
33
|
"scripts": {
|
|
34
34
|
"test": "node --conditions development test/index.js",
|