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
Copy file name to clipboardExpand all lines: README.md
+58-60Lines changed: 58 additions & 60 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -323,66 +323,11 @@ And some additional, less used options:
323
323
324
324
Plugins for **extra** syntax support can be added using any markdown-it compatible plugins - [see plugins](https://www.npmjs.com/browse/keyword/markdown-it-plugin) for documentation from markdown-it. An example for integration follows:
325
325
326
-
#### Step 1
327
-
328
-
Inspect what the plugin will output - this can be achieved with the following code, using `markdown-it-block-embed` as an example for adding video support:
Identify the new components and integrate the plugin with a rendered compoonent.
327
+
#### Step 1
382
328
383
-
In the example above, the heading_open, inline and heading_close tags are all handled by the existing code base, but we need to handle the **'video'** type.
329
+
Identify the new components and integrate the plugin with a rendered compoonent. We can use the `debugPrintTree` property to see what rules we are rendering:
384
330
385
-
Note, in the example below we use the `debugPrintTree` property to see what rules we are rendering:
0 commit comments