1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-26 16:44:22 +02:00

add js to markdown ``` code syntax (#1727)

This commit is contained in:
Lars Karbo
2018-03-26 07:08:28 -07:00
committed by Ian Storm Taylor
parent 28220e7007
commit c071df36ea

View File

@@ -113,7 +113,7 @@ Consider the following validation function that merges adjacent text nodes toget
Note: This functionality is already correctly implemented in slate-core so you don't need to put it in yourself!
```
```js
/**
* Merge adjacent text nodes.
*
@@ -149,7 +149,7 @@ How can we deal with this? Well, normalization can be suppressed temporarily for
The above validation function can then be written as below
```
```js
/**
* Merge adjacent text nodes.
*