@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.js
CHANGED
|
@@ -2680,6 +2680,10 @@ function LowlightPlugin({ name, lowlight, defaultLanguage, }) {
|
|
|
2680
2680
|
return lowlightPlugin;
|
|
2681
2681
|
}
|
|
2682
2682
|
|
|
2683
|
+
/**
|
|
2684
|
+
* This extension allows you to highlight code blocks with lowlight.
|
|
2685
|
+
* @see https://tiptap.dev/api/nodes/code-block-lowlight
|
|
2686
|
+
*/
|
|
2683
2687
|
const CodeBlockLowlight = CodeBlock.extend({
|
|
2684
2688
|
addOptions() {
|
|
2685
2689
|
var _a;
|