@ox-content/napi 3.0.0 → 3.1.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.
Files changed (2) hide show
  1. package/index.d.ts +18 -0
  2. package/package.json +8 -8
package/index.d.ts CHANGED
@@ -1975,6 +1975,18 @@ export interface JsParserOptions {
1975
1975
  * Default: `false`.
1976
1976
  */
1977
1977
  definitionLists?: boolean
1978
+ /**
1979
+ * Enable Pandoc-style `{#id .class}` heading attribute blocks.
1980
+ *
1981
+ * Default: `false`.
1982
+ */
1983
+ headingAttributes?: boolean
1984
+ /**
1985
+ * Enable Obsidian-style wiki links as link nodes.
1986
+ *
1987
+ * Default: `false`.
1988
+ */
1989
+ wikiLinks?: boolean
1978
1990
  }
1979
1991
 
1980
1992
  /** Opt-in parameterized Markdown partials. */
@@ -2873,6 +2885,12 @@ export interface JsTransformOptions {
2873
2885
  * Default: `false`.
2874
2886
  */
2875
2887
  smartPunctuation?: boolean
2888
+ /**
2889
+ * Enable Pandoc-style `{#id .class}` heading attribute blocks.
2890
+ *
2891
+ * Default: `false`.
2892
+ */
2893
+ headingAttributes?: boolean
2876
2894
  /**
2877
2895
  * Parse YAML frontmatter before transforming.
2878
2896
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ox-content/napi",
3
- "version": "3.0.0",
3
+ "version": "3.1.0",
4
4
  "description": "Node.js bindings for Ox Content - High-performance Markdown parser",
5
5
  "keywords": [
6
6
  "markdown",
@@ -47,12 +47,12 @@
47
47
  ]
48
48
  },
49
49
  "optionalDependencies": {
50
- "@ox-content/binding-darwin-x64": "3.0.0",
51
- "@ox-content/binding-darwin-arm64": "3.0.0",
52
- "@ox-content/binding-linux-x64-gnu": "3.0.0",
53
- "@ox-content/binding-linux-x64-musl": "3.0.0",
54
- "@ox-content/binding-linux-arm64-gnu": "3.0.0",
55
- "@ox-content/binding-linux-arm64-musl": "3.0.0",
56
- "@ox-content/binding-win32-x64-msvc": "3.0.0"
50
+ "@ox-content/binding-darwin-x64": "3.1.0",
51
+ "@ox-content/binding-darwin-arm64": "3.1.0",
52
+ "@ox-content/binding-linux-x64-gnu": "3.1.0",
53
+ "@ox-content/binding-linux-x64-musl": "3.1.0",
54
+ "@ox-content/binding-linux-arm64-gnu": "3.1.0",
55
+ "@ox-content/binding-linux-arm64-musl": "3.1.0",
56
+ "@ox-content/binding-win32-x64-msvc": "3.1.0"
57
57
  }
58
58
  }