|
21 | 21 | {
|
22 | 22 | "type": "list",
|
23 | 23 | "items": [
|
24 |
| - "Style tags; {@bold some text to be bolded} (alternative {@b shorthand}), {@italic some text to be italicised} (alternative {@i shorthand}), {@underline some text to be underlined} (alternative {@u shorthand}), {@strike some text to strike-through}, (alternative {@s shorthand}), {@color color|e40707}/{@color color variable|--rgb-name} tags, {@highlight highlight} tags, {@code print("hello world")} tags, misc {@style Style|small-caps;small;capitalize;dnd-font} tags", |
| 24 | + "Style tags; {@bold some text to be bolded} (alternative {@b shorthand}), {@italic some text to be italicised} (alternative {@i shorthand}), {@underline some text to be underlined} (alternative {@u shorthand}), {@strike some text to strike-through}, (alternative {@s shorthand}), {@color color|e40707}/{@color color variable|--rgb-name} tags, {@highlight highlight} tags, {@sup superscript} tags, {@sub subscript} tags, {@kbd keyboard} tags, {@code print("hello world")} tags, misc {@style Style|small-caps;small;capitalize;dnd-font} tags", |
25 | 25 | "Additionally, {@note note tags}, used for adding errata or Twitter \"designer footnotes.\"",
|
26 | 26 | "Dice roller tags; {@dice 1d2-2+2d3+5} for regular dice rolls ({@dice 1d6;2d6} for multiple options; {@dice 1d6 + #$prompt_number:min=1,title=Enter a Number!,default=123$#} for input prompts), with extended {@dice 1d20+2|display text} and {@dice 1d20+2|display text|rolled by name}, and a special 'hit' version which assumes a d20 is to be rolled {@hit +7} (and rolls advantage on shift-click, disadvantage on alt-click). There's also {@damage 1d12+3} which will roll critical hits on shift-click and half damage (rounding down) on alt-click, and {@d20 -4} which will also roll advantage/disadvantage, although @hit tags are preferred where appropriate. Spells can have scaling-dice tags, (damage of 2d6 or 3d6 at level 1, add an extra {@scaledice 2d6;3d6|2-9|1d6} for each level beyond 2nd), for when a spell effect scales at higher levels. {@ability str 20}, {@savingThrow str 5}, and {@skillCheck animal_handling 5} are used as internal shorthand, but may be useful elsewhere.",
|
27 | 27 | "Auto dice tags; as above, but a result is automatically rolled upon rendering: {@autodice 2d10+2}.",
|
|
286 | 286 | "** As an extension to Bootstrap's 1-to-12 system, 1/10th subdivisions can be used, e.g. col-1-5 for 1.5/12. The total column widths should still sum to exactly 12; enjoy doing the math."
|
287 | 287 | ]
|
288 | 288 | },
|
| 289 | + { |
| 290 | + "type": "table", |
| 291 | + "caption": "Optional Caption", |
| 292 | + "colLabelGroups": [ |
| 293 | + { |
| 294 | + "colLabels": [ |
| 295 | + "Single" |
| 296 | + ] |
| 297 | + }, |
| 298 | + { |
| 299 | + "colLabels": [ |
| 300 | + "Stacked Top", |
| 301 | + "Stacked Bottom" |
| 302 | + ] |
| 303 | + }, |
| 304 | + {} |
| 305 | + ], |
| 306 | + "colStyles": [ |
| 307 | + "col-4", |
| 308 | + "col-4", |
| 309 | + "col-4" |
| 310 | + ], |
| 311 | + "rows": [ |
| 312 | + [ |
| 313 | + "This table has multiple header rows stacked one atop the other", |
| 314 | + "Lorem ipsum", |
| 315 | + "This column has no labels" |
| 316 | + ] |
| 317 | + ] |
| 318 | + }, |
289 | 319 | "Rollable tables can be made like so (note the 'pad' to format single digit numbers e.g. '01' for tables with >10 rows):",
|
290 | 320 | {
|
291 | 321 | "type": "table",
|
|
572 | 602 | "type": "internal",
|
573 | 603 | "path": "blank.png"
|
574 | 604 | },
|
575 |
| - "title": "Optional Title" |
| 605 | + "title": "Optional Title", |
| 606 | + "credit": "Optional credit" |
576 | 607 | },
|
577 | 608 | {
|
578 | 609 | "type": "entries",
|
|
0 commit comments