@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.
- package/dist/index.js +1 -1
- 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
|