From a28612d4b7bb1fd15a4db261a140df013b86a4d8 Mon Sep 17 00:00:00 2001 From: Fabien Benetou Date: Wed, 25 Jan 2023 14:46:31 +0100 Subject: [PATCH] generalized addBlockCodeExample --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 040f14e..262bb58 100644 --- a/index.html +++ b/index.html @@ -2091,8 +2091,8 @@ function addCompoundPrimitiveExample(position="0 1.4 -0.2"){ return el } -function addBlockCodeExample(){ - el = addNewNote("hi") +function addBlockCodeExample(text="hi"){ + el = addNewNote( text ) el.setAttribute("color", "black") el.setAttribute("outline-color", "white") a = generateCompoundPrimitiveExample()