-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathextension.js
More file actions
25 lines (25 loc) · 737 Bytes
/
Copy pathextension.js
File metadata and controls
25 lines (25 loc) · 737 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
({
name: "Math", // Category Name
description: "Calculate Text like '1+2+3' and output is 6",
author: "Nawa Phansaen",
category: "Data Processing",
version: "1.0.0",
icon: "/static/icon.png", // Category icon
color: "#0570fc", // Category color (recommend some blocks color)
blocks: [ // Blocks in Category
{
xml: '<label text="For Calculate String"></label>',
},
{
xml: `
<block type="calculate">
<value name="problem">
<shadow type="text">
<field name="TEXT">(1+2)*5</field>
</shadow>
</value>
</block>
`
},
],
});