Merge branch 'main' of https://github.com/ueberdosis/tiptap
This commit is contained in:
@@ -40,6 +40,17 @@ CodeBlockLowlight.configure({
|
||||
})
|
||||
```
|
||||
|
||||
### defaultLanguage
|
||||
Define a default language instead of the automatic detection of lowlight.
|
||||
|
||||
Default: `null`
|
||||
|
||||
```js
|
||||
CodeBlockLowlight.configure({
|
||||
defaultLanguage: 'plaintext',
|
||||
})
|
||||
```
|
||||
|
||||
## Commands
|
||||
|
||||
### setCodeBlock()
|
||||
|
||||
Reference in New Issue
Block a user