MiniRepl: add punchcard flag for implicit vis
+ reintroduce editPattern + add punchcards to mini-notation.mdx
This commit is contained in:
parent
e4f538b674
commit
b2c6d87633
10 changed files with 323 additions and 310 deletions
|
|
@ -12,6 +12,7 @@ function useStrudel({
|
|||
initialCode = '',
|
||||
autolink = false,
|
||||
beforeEval,
|
||||
editPattern,
|
||||
afterEval,
|
||||
onEvalError,
|
||||
onToggle,
|
||||
|
|
@ -44,6 +45,7 @@ function useStrudel({
|
|||
getTime,
|
||||
drawContext,
|
||||
transpiler,
|
||||
editPattern,
|
||||
beforeEval: ({ code }) => {
|
||||
setCode(code);
|
||||
beforeEval?.();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue