You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 11, 2022. It is now read-only.
Dictionary for languages available to code block switcher
61
62
62
63
#### Example:
@@ -70,6 +71,7 @@ const markdownPlugin = createMarkdownPlugin({ languages })
70
71
```
71
72
72
73
### `features`
74
+
73
75
A list of enabled features, by default all features are turned on.
74
76
75
77
```js
@@ -79,7 +81,7 @@ features = {
79
81
}
80
82
```
81
83
82
-
#### Example
84
+
#### Example:
83
85
84
86
```
85
87
// this will only enable BOLD for inline and CODE
@@ -125,6 +127,30 @@ import { CHECKABLE_LIST_ITEM } from "draft-js-checkable-list-item"
125
127
]
126
128
```
127
129
130
+
### `entityType`
131
+
132
+
To interoperate this plugin with other DraftJS plugins, i.e. [`draft-js-plugins`](https://github.com/draft-js-plugins/draft-js-plugins), you might need to customize the `LINK` and `IMAGE` entity type created by `draft-js-markdown-plugin`.
0 commit comments