Contentstack LogoContentstack Logo

Markdown Content

Contentstack’s JSON Rich Text Editor (RTE) allows you to use Markdown syntax to format your content, making the creation process faster and more efficient. Markdown provides a simple way to add formatting elements like headings, lists, links, and code blocks without complex HTML tags.

Supported Markdown Commands

In the JSON RTE, you can format your content easily using the following Markdown commands:

Note: After applying a Markdown syntax, add a space to activate the formatting (except for code blocks). To switch back to normal text, use the same syntax again.

Commands

Syntax

Description

Bold

__Sample content__Use __ or ** at the start and end of the text.

Italic

_Sample content_Use _ or * at the start and end of the text.

Heading 1

# Sample contentAdd # at the start of the text.

Heading 2

## Sample contentAdd ## at the start of the text.

Heading 3

### Sample contentAdd ### at the start of the text.

Heading 4

#### Sample contentAdd #### at the start of the text.

Heading 5

##### Sample contentAdd ##### at the start of the text.

Heading 6

###### Sample contentAdd ###### at the start of the text.

Unordered List

* Sample contentUse * or - at the start of the text.

Ordered List

1. Sample contentUse 1. or 1) at the start of the text.

Strikethrough

~~Sample content~~Use ~~ at the start and end of the text.

Inline Code

`Sample content`Use ` at the start and end of the text.

Superscript

^Sample content^Use ^ at the start and end of the text.

Subscript

~Sample content~Use ~ at the start and end of the text.

Hyperlink

[Text](URL)Write the display text in [ ] and the URL in ( ).

Blockquote

> Sample contentUse > at the start of the text.

Code Block

```Sample content```Use ``` at the start and end of the block.

Image

![alt text](image-URL)Use ! followed by alt text in [ ] and the image URL in ( ).

Here’s a visual example of how Markdown commands look within Contentstack’s JSON RTE:

Markdown formatting examples in JSON RTE

With the added support for Markdown, formatting content becomes more intuitive and efficient.

Was this article helpful?
^