Character Vault
Any Concept / Any System
Compendium
Your System Come To Life
Roll20 for Android
Streamlined for your Tablet
Roll20 for iPad
Streamlined for your Tablet

Personal tools

Difference between revisions of "Markdown"

From Roll20 Wiki

Jump to: navigation, search
m
m (code markdown had an extra `)
 
(One intermediate revision by one user not shown)
Line 17: Line 17:
 
| '''''Bold & Italicize Text''''' || ***text to bold & italicize***
 
| '''''Bold & Italicize Text''''' || ***text to bold & italicize***
 
|-
 
|-
| <code style="padding: 3px 4px; color: #d14; background-color: #f7f7f9; border: 1px solid #e1e1e8; font-family: Menlo,Monaco,Courier New,monospace; border-radius: 3px">Code</code> || ```Code```
+
| <code style="padding: 3px 4px; color: #d14; background-color: #f7f7f9; border: 1px solid #e1e1e8; font-family: Menlo,Monaco,Courier New,monospace; border-radius: 3px">Code</code> || ``Code``
 
|-
 
|-
 
| Link to URL || <nowiki>[Google](https://www.google.com), [Dodge](https://roll20.net/compendium/dnd5e/Rules:Actions%20in%20Combat#h-Dodge)</nowiki>
 
| Link to URL || <nowiki>[Google](https://www.google.com), [Dodge](https://roll20.net/compendium/dnd5e/Rules:Actions%20in%20Combat#h-Dodge)</nowiki>
 
|-
 
|-
| Image || <nowiki>[Roll20 Logo](http://roll20.net/assets/themes/roll20/images/new-logo-white-sm.png)</nowiki>
+
| Image || <nowiki>[Roll20 Logo](https://app.roll20.net/v2/images/roll20-logo.png)</nowiki>
 
|}
 
|}
  

Latest revision as of 23:01, 1 September 2022


Main Page: Complete Guide to Macros & Rolls#Markdown

Some Markdown Wikipedia-Black-W.png can be used to style text & roll output seen in Roll20's q Text Chat.

Markdown is available to let you bold, italic, bold-italic, create a hyperlinks, or include even an image in your macros and text as they appear in the q Text Chat. You can use basic Markdown syntax in your text chat messages. We don't support the entire breadth of everything Markdown can do (like headers), but rather just basic formatting. Here's a quick rundown:

Format Syntax
Italicize Text *text to italicize*
Bold Text **text to bold**
Bold & Italicize Text ***text to bold & italicize***
Code ``Code``
Link to URL [Google](https://www.google.com), [Dodge](https://roll20.net/compendium/dnd5e/Rules:Actions%20in%20Combat#h-Dodge)
Image [Roll20 Logo](https://app.roll20.net/v2/images/roll20-logo.png)

Alternative to adding the markdown into the macros, you can sometimes add the markdown to your Character Attributes, so you can have a universal macro, and make individual adjustment to to how you want each output to look like.


Example:

/em his **@{bob|height}** tall, and can be described as: @{bob|description}.

Note on Code: The extra backtick at the start of the code snippet is required due to the backtick character also being the character used to escape commands.

Note on Images: Including an image is just putting in a link to an image. If the link ends in .png, .jpg, .jpeg, or .gif, we will automatically insert an image tag in addition to linking to the source image.

You can use the Markdown formatting in general messages, whispers (/w), descriptions (/desc), and emotes (/em). You can also include Markdown formatting in the values you pass to Roll Templates and it should work fine. For example:
 {{attack= [[1d20]] vs **AC**}}