Replies: 4 comments 14 replies
-
@eu2021, sifran and anyone else interested, please feel free to use https://freeplane.github.io/wiki/#/tutorials/freeplane-api-groovy/index as the starting point for your work. At the bottom of the page there is the icon [📝] that leads to the GitHub repository for the file. You can fork the repository, creating your copy under your user on GitHub → https://docs.github.com/en/get-started/quickstart/fork-a-repo In case of any doubt, please feel free to ask |
Beta Was this translation helpful? Give feedback.
-
@eu2021 , I'm not sure if this is the same thing that @macmarrum is pointing to, but the old wiki in MediaWiki format had a lot of information/pages about scripting. You should take a look there if you haven't already. |
Beta Was this translation helpful? Give feedback.
-
Just to test the format, I created an example script for each method of the IconRO and Icon interfaces. I put it in a table: https://github.com/eu2021/docs/blob/main/attic/new-wiki-initiative/freeplane-api-groovy.md I like the idea of creating a gigantic table with all the methods, because the user can follow either paths of:
Or
The other possibility would be to insert the examples directly in the API, like already sometimes happens, like: Anyway, I will keep creating in this table format, and later it can be used in other ways. |
Beta Was this translation helpful? Give feedback.
-
By chance, I found this very interesting discussion. The idea that Quinbus is exploring there seems to be similar to what I have in mind when I talk about premade blocks of code that an non programmer user can use in order to create simple scripts. |
Beta Was this translation helpful? Give feedback.
-
In the last meeting, @sifran-github raised a question regarding the documentation of things related to scripting. This is a topic that I got interested, and I would like to contribute.
I'm still in a very basic level, but I'm interested in learning about scripting, and I think I can work on the basic parts of the documentation, as I learn about them.
I would like to create a simple example for every method of the API, like they do in the Autohotkey documentation (e.g., see the end of this entry). For me, having those examples is very helpful, because I can right away have an idea of how the command can be used. For example, in the Freeplane API there is the setStyle method, but I don't know how to use it in a script, and I can't find examples in the forums. I don't know where it would be the appropriate place to put those examples, though.
So, I would like to know what are the plans for this part of the documentation.
BR,
Beta Was this translation helpful? Give feedback.
All reactions