I've got a quick question about linking. Is it possible to create a macro that directly opens to a notebook entry?rtakehara wrote: ↑Mon May 25, 2020 9:29 pmI don't know which version you are using, but the latest one (2.4.3) supports linking to itself, yes!Bernie_McGee wrote: ↑Sun Apr 26, 2020 1:26 pmHi Rod! Thanks for your work on this macro, it really fills in a feature I was looking for.
Is it possible to create a link to other notebook entries? I triedwhich of course didn't work (I didn't really expect it too). I also triedCode: Select all
[link](1.Welcome@Lib:Notebook)
but that didn't work either. I'm brand new to macros in Maptool, so I apologize if the answer is somewhat obvious!Code: Select all
[link](render@Lib:Notebook "libName=1.Welcome;libLocation=Lib:Notebook")
it would be like this
were "Notes" after the "@" is the name of the notebook, and "1. Getting Started" is the title of the pageCode: Select all
[Setup Page](note "1. Getting Started@Notes")
It can be done in the old version (1.22.2) too, probably, but its more complicated and I kinda abandoned that version, the new one uses the same syntax though so you should be fine, here's the link
Rod's 'Drop-In' Markdown Notebook
Moderators: dorpond, trevor, Azhrei, giliath, Gamerdude, jay, Mr.Ice
Re: Rod's 'Drop-In' Markdown Notebook
Re: Rod's 'Drop-In' Markdown Notebook
Figured it out. Found an example of what I was looking for on 2.5.6
Here's the bit of code I used to make it work for future people out there!
Cheers and Happy New Year everyone!
Here's the bit of code I used to make it work for future people out there!
Code: Select all
[h:value=getLibProperty("Value","Lib:Welcome")]
[h:description=json.get(value,"1. Welcome")]
[h,if(isGM()==1):share=0;share=1]
[macro("Content@Lib:Notebook"):"key=1. Welcome;description="+encode(description)+";tokenName=Lib:Welcome;share="+share]
Re: Rod's 'Drop-In' Markdown Notebook
So I was looking for a way to write notes down in my campaign, and I stumbles across this lib.
I tried it out but have a question: Is this formatting correctly?
When I click on the inventory note, it strings all the text together, but when I edit it, it recalled the formatting that I originally typed.
Am I doing something wrong here? Thx!
I tried it out but have a question: Is this formatting correctly?
When I click on the inventory note, it strings all the text together, but when I edit it, it recalled the formatting that I originally typed.
Am I doing something wrong here? Thx!
How to use my bundled artwork (MT1.3B60+): http://forums.rptools.net/viewtopic.php?f=8&t=11759
Re: Rod's 'Drop-In' Markdown Notebook
I believe (so not 100%) that text needs to be formatted with https://en.wikipedia.org/wiki/Markdown. I thought he had a link in there somewhere maybe in help with some detail on it.
Re: Rod's 'Drop-In' Markdown Notebook
Exactly, so to insert a line break, either separate the two lines with an extra line, or add two spaces in the end of the line, like this:Jmr3366 wrote: ↑Sat Sep 03, 2022 9:33 amI believe (so not 100%) that text needs to be formatted with https://en.wikipedia.org/wiki/Markdown. I thought he had a link in there somewhere maybe in help with some detail on it.
Code: Select all
Example a: line 1
Line 2
Example b: line 1 (notice the two spaces --->)
line 2
Re: Rod's 'Drop-In' Markdown Notebook
Thanks for the replies, everyone!
I have to admit, I am not one for reading instructions, so I am sure it was said somewhere...
I have to admit, I am not one for reading instructions, so I am sure it was said somewhere...
How to use my bundled artwork (MT1.3B60+): http://forums.rptools.net/viewtopic.php?f=8&t=11759