From 2a5c9a622d8cb09df9d40a320d146b0941081e11 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Tue, 23 Nov 2021 08:52:22 +0200 Subject: [PATCH] docs: readme add syntax highlighting (#32) --- 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"], ... }