This commit is contained in:
Hans Pagel
2021-11-09 11:56:36 +01:00
52 changed files with 1405 additions and 1062 deletions

View File

@@ -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()