Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Formatting the text displayed in one-click script library

1497597272
Laurent
Pro
Sheet Author
API Scripter
So, I just contributed a script, which was approved for one-click install. Obviously the "description" field of the script.json file is displayed when selecting the script from the menu. What I would like to know is how text formatting is encoded, so that I can provide a nicer description. Is it md, wiki, html? Do we need to escape some characters?
1497599708
Laurent
Pro
Sheet Author
API Scripter
Well, after looking at other scripts (shame on me for not thinking of that before asking), I found out that simple markdown is used.
1497618732
The Aaron
Pro
API Scripter
Glad you found the answer! &nbsp;I use this Chrome extension to preview my descriptions:&nbsp; <a href="https://chrome.google.com/webstore/detail/markdown" rel="nofollow">https://chrome.google.com/webstore/detail/markdown</a>... Then I merge it all onto one line and escape the " as \" and add it to the description field in the JSON file. &nbsp;(One of these days I'll finish my third version of my release management script for roll20 API scripts and it will handle that for me on it's own!)
1497638151
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Nice extension. Added. :)
1497639287
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Also, glad to see that extension, I've been trying to improve my description formatting.