@tiptap/extension-code-block-lowlight 2.3.2 → 2.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.
- package/dist/index.cjs +4 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +4 -0
- package/dist/index.umd.js.map +1 -1
- package/dist/packages/extension-code-block-lowlight/src/code-block-lowlight.d.ts +12 -0
- package/package.json +4 -4
- package/src/code-block-lowlight.ts +13 -0
package/dist/index.cjs
CHANGED
|
@@ -2688,6 +2688,10 @@ function LowlightPlugin({ name, lowlight, defaultLanguage, }) {
|
|
|
2688
2688
|
return lowlightPlugin;
|
|
2689
2689
|
}
|
|
2690
2690
|
|
|
2691
|
+
/**
|
|
2692
|
+
* This extension allows you to highlight code blocks with lowlight.
|
|
2693
|
+
* @see https://tiptap.dev/api/nodes/code-block-lowlight
|
|
2694
|
+
*/
|
|
2691
2695
|
const CodeBlockLowlight = CodeBlock__default["default"].extend({
|
|
2692
2696
|
addOptions() {
|
|
2693
2697
|
var _a;
|