From eb83bd45f5710a983e6ac33adf693f0582f48c2a Mon Sep 17 00:00:00 2001 From: Daniel Howe Date: Sat, 18 Nov 2023 15:44:55 +0800 Subject: [PATCH] Update README.md --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 42741b1..a4b05c9 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,7 @@ RiScript is a micro-language designed for writers working in computational media ### Installation -* For [node](#with-nodejs-and-npm): `npm install riscript` - ```let { RiScript } = require('riscript');``` +* For [node](#with-nodejs-and-npm): `$ npm install riscript` and then ```let { RiScript } = require('riscript');``` * For [browsers](#a-simple-browser-sketch): `````` * For [esm](#an-esm-browser-sketch): ```import { RiScript } from "https://esm.sh/riscript";``` * For [developers](#developing) @@ -17,7 +16,7 @@ RiScript is a micro-language designed for writers working in computational media ```javascript -import { RiScript } from "https://esm.sh/riscript"; // for esm +import { RiScript } from "https://esm.sh/riscript"; let script = "[#name=[Jane | Bill]] was from [#place=[New York | Berlin | Shanghai]]." + " $name finds $place cold and wet in winter.";