From c071df36ea7ce69957146219b8178e3f9f6953eb Mon Sep 17 00:00:00 2001 From: Lars Karbo Date: Mon, 26 Mar 2018 07:08:28 -0700 Subject: [PATCH] add js to markdown ``` code syntax (#1727) --- docs/guides/schemas.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guides/schemas.md b/docs/guides/schemas.md index 3fd5bc97a..44c11ae41 100644 --- a/docs/guides/schemas.md +++ b/docs/guides/schemas.md @@ -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. *