Markdown Cheat Sheet
A quick reference for the Markdown syntax supported in PlayMaker.
You can use this syntax in PlayMaker Notes, Comment Nodes, Action List comments, Node descriptions, and Documentation assets.
The syntax includes standard Markdown features as well as custom extensions for Unity and PlayMaker.
Why Use Markdown in PlayMaker?
Markdown lets you add structure, emphasis, and formatting to your notes.
Use it to make FSM documentation clearer with headings, lists, links, and inline code.
Limitations
- Inline images can only be placed at the beginning or end of text sections.
Headings
Emphasis
Lists
Unordered
Ordered
Check Lists
Rendered as check boxes that can be clicked:
- Done
- Not done
Clicking the check box edits the underlying markdown text.
Links
All links use this format:
Internal Links
Use # to link to headings (lowercase with hyphens replacing spaces):
External Links
Use https:// to link to web pages:
FSM Links
Use fsm: to link to FSM components:
Optionally select a state in the FSM:
Use var: to link to Variables in an FSM:
Use event: to link to Events in an FSM:
Use state: to link to States in an FSM:
Menu Command
Use menu: to open a menu item:
Highlight Command
Use highlight: to call Highlighter.Highlight:
Images
Use width and/or height attributes to set the size of the image in pixels:
If only width or height is specified, the other dimension is calculated based on the image’s aspect ratio.
Note: Only local images are supported for now. Online images will not be downloaded.
Horizontal Rule
Custom Styles
Add a custom stylesheet using front matter (formatted text at the top of the markdown file):
Assign classes to blocks:
Paths
Relative Paths
Start with . to define a path relative to the file or owner object.
For example:
If the markdown is on a GameObject in:
And an image is at:
Then this is the relative path:
Project Paths
Project paths should start with Assets/ or Packages/.
Asset Search
Use search:assetName to find a file in Assets.
Use packages:assetName to find a file in Packages.
Markdown Help Window
PlayMaker → Help → Markdown Help
The Markdown Help window shows the Markdown Cheat Sheet.
It also provides these helpers:
Get Icon Markdown
Opens a browser to select from all available icons. Select an icon to copy its markdown code to the clipboard. Paste this code into your notes to insert that icon.
Note, you can also select a color to add a tint to the markdown code.
Get Image Markdown
Opens an image browser. Select an image to copy markdown to the clipboard. Paste this markdown into notes to insert that image.