Skip to content

Commit

Permalink
v2.0.13
Browse files Browse the repository at this point in the history
  • Loading branch information
andi23rosca committed Jun 3, 2024
1 parent b3004e3 commit ffa307a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "solid-markdown",
"version": "2.0.12",
"version": "2.0.13",
"description": "Markdown renderer for solid-js",
"license": "MIT",
"keywords": [
Expand Down Expand Up @@ -120,4 +120,4 @@
"node": ">=18",
"pnpm": ">=8.6.0"
}
}
}
4 changes: 3 additions & 1 deletion src/renderer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ export const MarkdownText: Component<{
const node = props.node;
const parent = props.parent;

const properties: Record<string, unknown> = {};
const properties: Record<string, unknown> = {
parent,
};

// Nodes created by plugins do not have positional info, in which case we use
// an object that matches the position interface.
Expand Down

0 comments on commit ffa307a

Please sign in to comment.