From 15df1ffdd1b2150ebc11ecdc2f67acdbecc1e2c2 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Sun, 21 Nov 2021 10:41:56 +0200 Subject: [PATCH] docs: readme: add syntax highlighting --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8bc9149..8eda5c7 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ This will be used to traverse unknown nodes. For example: -``` +```js const node = { type: "AssignmentExpression", left: { type: "Identifier", name: "foo" }, @@ -80,7 +80,7 @@ Make the union set with `evk.KEYS` and the given keys. For example: -``` +```js console.log(evk.unionWith({ MethodDefinition: ["decorators"] })) // → { ..., MethodDefinition: ["decorators", "key", "value"], ... }