@pretextbook/remark-pretext 0.3.0 → 0.4.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.
@@ -7,7 +7,7 @@
7
7
  * - Factories apply spec-driven semantic rules uniformly
8
8
  * - Adding new directives requires only configuration change, not new functions
9
9
  */
10
- export type DirectiveCategory = "theorem-like" | "proof-like" | "definition-like" | "axiom-like" | "remark-like" | "example-like" | "project-like" | "exercise-like" | "solution-like";
10
+ export type DirectiveCategory = "theorem-like" | "proof-like" | "definition-like" | "axiom-like" | "remark-like" | "example-like" | "project-like" | "exercise-like" | "solution-like" | "figure-like";
11
11
  /**
12
12
  * Semantic specification for how a directive type should be converted.
13
13
  * This pattern mirrors unified-latex-to-pretext's factory specifications.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pretextbook/remark-pretext",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "remark plugin to transform markdown-style PreTeXt directives into ptxast",
5
5
  "author": "Oscar Levin",
6
6
  "license": "MIT",
@@ -42,6 +42,8 @@
42
42
  "@pretextbook/ptxast": "^0.2.0",
43
43
  "@types/mdast": "^4.0.0",
44
44
  "mdast-util-directive": "^3.0.0",
45
+ "mdast-util-gfm-table": "^2.0.0",
46
+ "micromark-extension-gfm-table": "^2.1.1",
45
47
  "remark-directive": "^4.0.0",
46
48
  "remark-parse": "^11.0.0",
47
49
  "unified": "^11.0.0",