You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| IntersectionObserverOptions | Manage the conditions under which the highlighting of a code block should be triggered (Need `lazyLoading` property to be true) | object | {rootMargin: "0px",threshold: 0.1} |
133
+
| showCopy | Whether to show the copy button on the top right corner | boolean | true |
134
+
| showLangLabel | Whether to show the language type label on the top left corner | boolean | true |
135
+
| lazyLoading | Whether to run highlighting rendering when a code block is within viewport | boolean | true |
Copy file name to clipboardExpand all lines: package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "react-notion-x-code-block",
3
-
"version": "0.3.1",
3
+
"version": "0.4.0",
4
4
"description": "Enhance your React-Notion-X projects with a code block component. This component offers out-of-the-box support for multiple programming languages and automatically adapts to light and dark themes",
0 commit comments