espen
27 August 2020 08:03
1
When sharing code or flows here on the forum, please use the button for code before you paste the code. It’s located here:
Then this will be shown:
And will be published as a code block.
type or paste code here
Extras, code-blocks now has a copy button:
2 Likes
jon
27 August 2020 09:30
2
Good reminder. This is good for short flows and code snippets, but if people want to share more advanced flows it would also be good to have an option to upload .txt files or similar, to maintain readability of the threads on this forum
1 Like
espen
27 August 2020 09:36
3
When using this code block it will not show all code, but will be posted inside a scrollable window. See example here:
Her er den virtuelle bryteren:
{
"Id": "3r06fmz8hpYecui",
"ClassId": "3r06fmz8hpYecui",
"Author": "espenh.no",
"Version": 0,
"CreatedAt": "2020-08-25T20:54:08.994842751+02:00",
"UpdatedAt": "2020-08-25T21:55:27.103354435+02:00",
"Name": "tobias_night_mode",
"Group": "tobias",
"Description": "set tobias room to night mode",
"Nodes": [
{
"Id": "1",
"Type": "trigger",
"Label": "button",
"SuccessTransition": "2",
"TimeoutTransition": "",
"…
3 Likes
I can’t find this button after the forum was upgraded, but I know it should be possible. How do we do it now?
espen
6 December 2023 12:26
6
Which button do you not see?
To insert kode - the “</>” button.
Umbo
16 March 2024 08:33
8
It’s now under the clogwheel:
Sorry, little inception here
2 Likes