@tiptap/extension-code-block-lowlight 2.0.0-beta.2 → 2.0.0-beta.200

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/README.md CHANGED
@@ -7,8 +7,8 @@
7
7
  ## Introduction
8
8
  tiptap is a headless wrapper around [ProseMirror](https://ProseMirror.net) – a toolkit for building rich text WYSIWYG editors, which is already in use at many well-known companies such as *New York Times*, *The Guardian* or *Atlassian*.
9
9
 
10
- ## Offical Documentation
10
+ ## Official Documentation
11
11
  Documentation can be found on the [tiptap website](https://tiptap.dev).
12
12
 
13
13
  ## License
14
- tiptap is open-sourced software licensed under the [MIT license](https://github.com/ueberdosis/tiptap-next/blob/main/LICENSE.md).
14
+ tiptap is open sourced software licensed under the [MIT license](https://github.com/ueberdosis/tiptap/blob/main/LICENSE.md).
@@ -1 +1,6 @@
1
- export declare const CodeBlockLowlight: import("@tiptap/core").Node<import("@tiptap/extension-code-block").CodeBlockOptions>;
1
+ import { CodeBlockOptions } from '@tiptap/extension-code-block';
2
+ export interface CodeBlockLowlightOptions extends CodeBlockOptions {
3
+ lowlight: any;
4
+ defaultLanguage: string | null | undefined;
5
+ }
6
+ export declare const CodeBlockLowlight: import("@tiptap/core").Node<CodeBlockLowlightOptions, any>;
@@ -1,4 +1,6 @@
1
1
  import { Plugin } from 'prosemirror-state';
2
- export declare function LowlightPlugin({ name }: {
2
+ export declare function LowlightPlugin({ name, lowlight, defaultLanguage }: {
3
3
  name: string;
4
- }): Plugin<any, any>;
4
+ lowlight: any;
5
+ defaultLanguage: string | null | undefined;
6
+ }): Plugin<any>;