Skip to content
Discussion options

You must be logged in to vote

Hi @lostecmo,
Thank you for your feedback 😊
I don't know if this is enough for your use case, but we already have 2 similar features to get user input.
But I will think about displaying an HTML input, it would be prettier 👍

1 - The load block:

Declaration
```json block1
{ "name": "val1", "props": "val2"}
```

Usage
```js
print(loadBlock('block1'));
```

2 - The global block:

```js
//global 1
const myVar = "Hello";
```

```js
print(myVar);
```

I hope this will help you.
Anthony

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by lostecmo
Comment options

You must be logged in to vote
1 reply
@alagrede
Comment options

Comment options

You must be logged in to vote
1 reply
@alagrede
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
2 participants