@nast/nast2typst 0.3.0 → 0.3.1

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/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -258,7 +258,7 @@ function handleToggle(node, context) {
258
258
  }
259
259
  const toggleBody = node.children.slice(bodyStartIndex).map((child) => processNode(child, context)).join("");
260
260
  const toggleParams = headingParam ? `${headingParam}` : "";
261
- return `// Toggle block\n${toggleParams ? `#toggle(${toggleParams})` : "#toggle"}[${toggleTitle}${isHeadingToggle ? "\n" : ""}][${toggleBody}]`;
261
+ return `// Toggle block\n${toggleParams ? `#toggle(${toggleParams})` : "#toggle"}[${toggleTitle}${isHeadingToggle ? "\n" : ""}][${toggleBody}]\n`;
262
262
  }
263
263
 
264
264
  //#endregion
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nast/nast2typst",
3
3
  "type": "module",
4
- "version": "0.3.0",
4
+ "version": "0.3.1",
5
5
  "description": "Converts NAST (unified-like Notion Abstract Syntax Tree) to Typst markup language.",
6
6
  "keywords": [
7
7
  "notion",