Markdown macro - Cloud

The Markdown macro renders Markdown content directly entered in the macro.

Basic Use

This macro can be deployed using one of the following methods:

Selected from the Macro browserMarkdown
Markup shortcut

{markdown}

Parameters

The following parameters are available with all Markdown macros:

Macro Editor LabelDefaultDescriptionMacro Parameter
Find regex patterns

Enter a comma-separated list of regex patterns to post-process the output for Markdown content with find and replace logic.

Example: (href=)(/display)

find

Enter a comma-separated list corresponding to find patterns via index position in the list. These are single quote entries containing a comma.

Example: $1$base_url$2

replace
Allow HTML tagsfalseSelect this option to allow HTML tags in the macro body. The option is deselected by default. allowHtml
Hard wrap newlinestrue

Select this option to display content on separate lines. This is a GitHub Flavored Markdown extension and is selected by default.

TextHard wrap (selected)Soft wrap (Hard wrap not selected)
Roses are red
Violets are blue
Roses are red
Violets are blue
Roses are red Violets are blue
hardwrap
Table class@default

Specify the table class (CSS) to apply to render tables.

  • @default - Apply the default Confluence table class to rendered tables.
  • @none - Do not apply any style to rendered tables.

Currently, Confluence Cloud does not support the use of custom user-defined styles.

tableClass

Screenshot


Find answers from the community.

Ask a question to the community.

Log a request with our support team.

Confluence®, Jira®, Atlassian Bamboo®, Bitbucket®, Fisheye®, and Atlassian Crucible® are registered trademarks of Atlassian®
Copyright © 2005 - 2024 Appfire | All rights reserved. Appfire™, the 'Apps for makers™' slogan and Bob Swift Atlassian Apps™ are all trademarks of Appfire Technologies, LLC.