44 <attribute_name VISIBLE =" true" NAME =" ToM_TabLabel" />
55</attribute_registry >
66<node TEXT =" Tutorial-o-Matic
 Step by Step" LOCALIZED_STYLE_REF =" AutomaticLayout.level.root" FOLDED =" false" ID =" ID_1090958577" LINK =" menuitem:_addons.tutorialOMatic.showTutorialsFromActiveMap_on_single_node" ><hook NAME =" MapStyle" background =" #2e3440" zoom =" 0.75" >
7- <properties show_icon_for_attributes =" true" edgeColorConfiguration =" #808080ff,#ff0000ff,#0000ffff,#00ff00ff,#ff00ffff,#00ffffff,#7c0000ff,#00007cff,#007c00ff,#7c007cff,#007c7cff,#7c7c00ff" mapUsesOwnSaveOptions =" true" mdhCleanMindmapPath =" C:\Users\Edo\Documents\GitHub\Freeplane_Tutorial_AddOn\Tutorial-o-Matic\zips\doc\Tutorial-o-Matic\Tutorial-o-MaticStepByStep.mm" save_modification_times =" false" mdhCleanMindmapExportDate =" 2022-05-06 11:23:12.913 -0400" save_last_visited_node =" default" show_note_icons =" true" associatedTemplateLocation =" template:/dark_nord_template.mm" save_folding =" default" fit_to_viewport =" false" />
7+ <properties show_icon_for_attributes =" true" edgeColorConfiguration =" #808080ff,#ff0000ff,#0000ffff,#00ff00ff,#ff00ffff,#00ffffff,#7c0000ff,#00007cff,#007c00ff,#7c007cff,#007c7cff,#7c7c00ff" mapUsesOwnSaveOptions =" true" mdhCleanMindmapPath =" C:\Users\Edo\Documents\GitHub\Freeplane_Tutorial_AddOn\Tutorial-o-Matic\zips\doc\Tutorial-o-Matic\Tutorial-o-MaticStepByStep.mm" save_modification_times =" false" mdhCleanMindmapExportDate =" 2022-05-14 13:16:38.541 -0400" save_last_visited_node =" default" show_note_icons =" true" associatedTemplateLocation =" template:/dark_nord_template.mm" save_folding =" default" fit_to_viewport =" false" />
88
99<map_styles >
1010<stylenode LOCALIZED_TEXT =" styles.root_node" ID =" ID_1059101550" STYLE =" oval" UNIFORM_SHAPE =" true" VGAP_QUANTITY =" 24 pt" >
281281</node >
282282</node >
283283</node >
284- <node TEXT =" Tutorial 1: one page tutorial in a new mindmap" STYLE_REF =" ToM-Tutorial" FOLDED = " true " POSITION =" right" ID =" ID_511509268" >
284+ <node TEXT =" Tutorial 1: one page tutorial in a new mindmap" STYLE_REF =" ToM-Tutorial" POSITION =" right" ID =" ID_511509268" >
285285<icon BUILTIN =" emoji-1F58D" />
286286<attribute NAME =" ToM_TabLabel" VALUE =" ToM tut 1" />
287287<node TEXT =" one page tutorial in a new mindmap" ID =" ID_1377645550" >
@@ -1283,6 +1283,95 @@ Write some text to its note (this is the information that will be shown)
12831283<node TEXT =" Tutorial 3: organizing a tutorial in multiple pages" STYLE_REF =" ToM-Tutorial" POSITION =" right" ID =" ID_243365661" >
12841284<icon BUILTIN =" emoji-1F58D" />
12851285<attribute NAME =" ToM_TabLabel" VALUE =" ToM tut 2" />
1286+ <node TEXT =" Source" ID =" ID_1059972748" >
1287+ <node TEXT =" https://www.instructables.com/Cute-Origami-Bookmarks/" ID =" ID_746617258" LINK =" https://www.instructables.com/Cute-Origami-Bookmarks/" />
1288+ <node TEXT =" Long Tutorial example" ID =" ID_1524816866" LINK =" file:/C:/Users/Edo/Documents/GitHub/Freeplane_Tutorial_AddOn/EditingTutorialsWithMDH/LongTutorialExample.mm" />
1289+ <node TEXT =" help scripts" ID =" ID_607149913" >
1290+ <node TEXT =" formatting web image links" ID =" ID_817361496" ><richcontent TYPE =" NOTE" CONTENT-TYPE =" xml/" >
1291+ <html >
1292+ <head >
1293+
1294+ </head >
1295+ <body >
1296+ <p >
1297+ def nodos = c.selecteds
1298+ </p >
1299+ <p >
1300+
1301+ </p >
1302+ <p >
1303+ nodos.each{n ->
1304+ </p >
1305+ <p >
1306+ n.text = 'image Origami Bookmarks'
1307+ </p >
1308+ <p >
1309+ n.link.text = n.link.text.takeBefore('?') + '?auto=webp& frame=1& width=500& height=500& fit=bounds'
1310+ </p >
1311+ <p >
1312+ }
1313+ </p >
1314+ </body >
1315+ </html >
1316+ </richcontent >
1317+ <richcontent CONTENT-TYPE =" xml/" TYPE =" DETAILS" >
1318+ <html >
1319+ <head >
1320+
1321+ </head >
1322+ <body >
1323+ <p >
1324+ .groovy
1325+ </p >
1326+ </body >
1327+ </html >
1328+ </richcontent >
1329+ </node >
1330+ <node TEXT =" renaming the MDH nodes" ID =" ID_1698589334" ><richcontent TYPE =" NOTE" CONTENT-TYPE =" xml/" >
1331+ <html >
1332+ <head >
1333+
1334+ </head >
1335+ <body >
1336+ <p >
1337+ def nodos = node.find{n -> n.style.name && n.style.name == 'MarkdownHelperNode' && n.text == 'Markdown document.md'}
1338+ </p >
1339+ <p >
1340+
1341+ </p >
1342+ <p >
1343+ //def n = node
1344+ </p >
1345+ <p >
1346+ nodos.each{ n ->
1347+ </p >
1348+ <p >
1349+ def newText = n.children.first().text.split(' ').take(5).join(' ') + ' ...'
1350+ </p >
1351+ <p >
1352+ n.text = newText
1353+ </p >
1354+ <p >
1355+ }
1356+ </p >
1357+ </body >
1358+ </html >
1359+ </richcontent >
1360+ <richcontent CONTENT-TYPE =" xml/" TYPE =" DETAILS" >
1361+ <html >
1362+ <head >
1363+
1364+ </head >
1365+ <body >
1366+ <p >
1367+ .groovy
1368+ </p >
1369+ </body >
1370+ </html >
1371+ </richcontent >
1372+ </node >
1373+ </node >
1374+ </node >
12861375<node TEXT =" second tutorial" ID =" ID_168997337" ><richcontent CONTENT-TYPE =" xml/" TYPE =" DETAILS" >
12871376<html >
12881377 <head >
@@ -1297,11 +1386,7 @@ Write some text to its note (this is the information that will be shown)
12971386 </p >
12981387 </body >
12991388</html ></richcontent >
1300- <node TEXT =" inserts example node" ID =" ID_172850433" >
1301- <node TEXT =" add a new Tutorial node" ID =" ID_1709360018" />
1302- <node TEXT =" change tutorials tab" ID =" ID_738150415" />
1303- <node TEXT =" inserts example Tom Text nodes" ID =" ID_1350622851" />
1304- </node >
1389+ <node TEXT =" Opens example tutorial map" ID =" ID_582237406" />
13051390<node TEXT =" test " show map tutorials" " ID =" ID_62778532" >
13061391<node TEXT =" --> looooong panel ---> new pages!!" ID =" ID_1846650812" />
13071392</node >
0 commit comments