New Formatting Options: Horizontal Rule, Ordered/Unordered Lists, Small Caps

JochenL

CL Byte Sprite
Staff member
CL Add-on Dev
Wizard of Adventure
Beta-Tester
Code for horizontal rules

To get a horizontal rule, start the line with two dashes "--" and don't add any more text to that line.
First Line
--
Second Line

Ordered and unordered lists

Simply start consecutive lines with "# " and you'll get an ordered list.
# First entry
# Second entry
# Third entry
Simply start consecutive lines with "- " and you'll get an unordered list.
- First entry
- Second entry
- Third entry
Small caps format for text

Small caps ueses text-transforms: {|SmallCaps|scaps}
Of course, you can combine this formatting like underline: {u|SmallCaps|scaps}
 

ELF

Generator Sage
Staff member
CL Add-on Dev
Beta-Tester
For me, this update is huge! (And I haven't yet fully recovered from the impact of image support, either...) Especially the list formatting will be extremely useful, and the horizontal line is great for generators producing walls of text.

And the syntax still remains compact and easy to use, great job!

These new formatting options are now available on the Campaign Logger cheat sheet as well:
https://www.cheatography.com/johnnfour/cheat-sheets/campaign-logger/
 

Hannu

Mythras Guru
CL Add-on Dev
Beta-Tester
hmmm. what exactly is the syntax for horizontal line in a generator. I have tried
{b|Undead #1}\r{event} --\r\r{b|Undead #2}\r{event}\r\r
and
{b|Undead #1}\r{event} \r\r--{b|Undead #2}\r{event}\r\r

Neither of which produce the horizontal line in the dialog nor on the campaign log...
 

ELF

Generator Sage
Staff member
CL Add-on Dev
Beta-Tester
To get a horizontal rule, start the line with two dashes "--" and don't add any more text to that line.
Code:
\r\n--\r\n
Although it must be said that I see the vertical space but not the horizontal line.
 

Hannu

Mythras Guru
CL Add-on Dev
Beta-Tester
Hmmm. now I see it - very very dimly there is a line visible in the log... Should there be a bit more weight / thickness on the line

Perhaps the "--" plus no more text should be visible in the cheatsheet and above trick documented somewhere...
 

ELF

Generator Sage
Staff member
CL Add-on Dev
Beta-Tester
Hmmm. now I see it - very very dimly there is a line visible in the log... Should there be a bit more weight / thickness on the line
You are right! I guess my display resolution is better than I thought. :)

Perhaps the "--" plus no more text should be visible in the cheatsheet and above trick documented somewhere...
I added a short clarification to the cheat sheet. Documentation would not be a bad idea either.
 
Top