From 52a311aae632de3ca833b0244dddc260a4fb1628 Mon Sep 17 00:00:00 2001 From: Felix Roos Date: Fri, 22 Mar 2024 15:55:12 +0100 Subject: [PATCH] add link to StrudelMirror --- packages/repl/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/repl/README.md b/packages/repl/README.md index 5128a003..b82f3434 100644 --- a/packages/repl/README.md +++ b/packages/repl/README.md @@ -91,4 +91,6 @@ or ``` -The `.editor` property on the `strudel-editor` web component gives you the instance of [StrudelMirror]() that runs the REPL. +The `.editor` property on the `strudel-editor` web component gives you the instance of [StrudelMirror](https://github.com/tidalcycles/strudel/blob/a46bd9b36ea7d31c9f1d3fca484297c7da86893f/packages/codemirror/codemirror.mjs#L124) that runs the REPL. + +For example, you could use `setCode` to change the code from the outside, `start` / `stop` to toggle playback or `evaluate` to evaluate the code.