Stackoverflow Markdown

  • It seems like a lot of people try to display tables in Stack Overflow questions, but don't do a very good job. Is there Markdown syntax that supports creating a proper table?
  • The Markdown elements outlined in John Gruber's design document.
  • Retina scaling is generally not useful for markdown output since rendering retina images requires explicit use of HTML img tags rather than native.
  • Cmd Markdown 编辑阅读器,支持实时同步预览,区分写作和阅读模式,支持在线存储,分享文稿网址。.

Get insights on the world’s developers from the largest and most comprehensive survey ever. Career satisfaction.

You're viewing help content for version:

  • 6.3


This functionality requires the application of AEM 6.3 Service Pack 3 (

When you are authoring, the content fragment editor uses markdown syntax to allow you to easily write content:

You can define:

To create a header by placing a hash tag (#) in front of the heading. One hash tag (#) is used for an H1, two hash tags (##) for a H2 etc. You can use up to 6 hash tags. For example:

#This is an H1

##This is an H2

###### This is a H6

Optionally, you can create a H1 by underlining the text in equal signs and create a H2 by underlining the text in minus signs. For example:


This is an H1

This is an H2

A paragraph is simply one or more consecutive lines of text, separated by one or more blank lines. A blank line is a line containing nothing but spaces or tabs. Normal paragraphs should not be indented with spaces or tabs.

A line break is created by ending a line with two or more spaces then a return.

You can create inline and reference links.

In both styles, the link text is delimited by square brackets [].

These are examples of inline links:

This is [an example]( 'Title') inline link.

This is [an example of an email link](emailto:[email protected])

[This link]( has no title attribute.

A reference link has the following syntax:

Hey you should [checkout][0] this [cool thing][wiki] that I [made][].

The syntax for images is similar to the links. You can create inline and reference links.

For example, an inline image has the following syntax:

![Alt text](/path/to/img.jpg)
![Alt text](/path/to/img.jpg 'Optional title')

The syntax includes:

  • An exclamation mark: !;
  • followed by a set of square brackets, containing the alt attribute text for the image;
  • followed by a set of parentheses, containing the URL or path to the image, and an optional title attribute enclosed in double or single quotes.

A Reference-style image has the following syntax:

![Alt text][id]

Where “id” is the name of a defined image reference. Image references are defined using syntax identical to link references:


[id]: url/to/image 'Optional title attribute'

You can quote text by adding the > symbol before the text. For example:

>This is block quotes

You can have nested block quotes. Imessage voice message. For example:

> This is the first level of quoting.
> > This is nested blockquote.
> Back to the first level.

You can create both ordered and unordered lists.

To create an unordered list, use the * symbol before the items in the list. For example:

Stack Overflow Markdown Example

* item in list
* item in list
* item in list

To create an ordered list, add the numbers, followed by a period, before each item in the list. For example:

1. First item in list.
2. Second item in list.
3. Third item in list.

You can add italic or bold styling to your text.

To can add italics as follows:

*single asterisks*

_single underscores_

Keyboard shortcut: Ctrl-I (Cmd-I)

You can bold text as follows:

**double asterisks**

__double underscores__

Keyboard shortcut: Ctrl-B (Cmd-B)

To indicate a span of code, wrap it with backtick quotes (`). Unlike a pre-formatted code block, a code span indicates code within a normal paragraph.

For example:

Use the `printf()` function.

Code blocks are typically used to illustrate source code. You can create code blocks by indenting the code using a tab or a minimum of 4 spaces. For example:

This is a normal paragragh.

This is a code block.

You can use backslash escapes to generate literal characters which have special meaning in formatting syntax. For example, if you wanted to surround a word with literal asterisks (instead of an HTML <em> tag), you can use backslashes before the asterisks, like this:

Stackoverflow markdown table

*literal asterisks*

Stackoverflow Markdown Code Block

Backslash escapes are available for the following characters:


` backtick

* asterisk

Stackoverflow Markdown

_ underscore

{} curly braces

[] square brackets

() parentheses

# hash mark

+ plus sign

Stackoverflow Markdown Editor

- minus sign (hyphen)

. dot

From Spoilers

Stackoverflow Markdown Strikethrough

To hide a certain piece of text and have it only be visible when a user moves the mouse over it, use the blockquote syntax with an additional exclamation point:

doesn't looks working

Stack Overflow Markdown Python

Stack overflow markdown python

At the end of episode five, it turns out that >! he's actually his father.

Stackoverflow Markdown Strikethrough

1 answer

  • answered 2014-11-26 19:55

    It says blockquote syntax, so the >! needs to be on a newline, then it works:

    renders as:

    At the end of episode five, it turns out that:

    he's actually his father.

See also questions close to this topic

Stackoverflow Markdown Table

  • What would be a proper 'man or boy test' to check if a given language has good support for functional programming idioms?

    The original Man or boy test was devised by Donald Knuth to to distinguish compilers that correctly implemented 'recursion and non-local references' from those that did not. I'm not asking about this original version.

    My issue is, sometimes people argue if not-pure-functional language A or B has better support for functional programming idioms. It's common, for example to read complaints about Python lacking good support for those who like to write code in functional style, due to lambdas limited to one line, or lack of tail call optimization, that blows recursive functions after a depth around 1000. I think this is not a exaustive list.

    This context bears my question: In the spirit of the original Man or boy test, what would be a simple routine involving the main functional programming idioms, like deep recursion, lambdas, et cetera, that we coud try to implement in any language to separate the man-functional from the boy-functional?

  • Accessing Page Date On Failure

    I have a need to access page data if a test fails in cypress, but I am unable to perform any cy.get() operations. The code operates in the following way:

    1. A test executes.
    2. At some point, it attempts to get an element using cy.get(). If the element does not exist, other elements will appear that contain error message data. The error message data elements may or may not exist.
    3. If the element being sought does not exist, Cypress.on('fail', (error, runnable) => ..) is invoked. It is in this code block I would like to access the error message data.

    Is there any way to use Cypress to access the html elements in the on fail handler? Or is there a different approach I should be taking?

  • react-native regex to match with digit + one character

    I need to test if my string match with a certain format, this one : '20/04/1980'
    So I tried to write a regex but I test only digits with it : .match(/d{2}./d{2}./d{4}/)

    How can I test the match with also the '/' character ?

  • icons cdn for markdown

    I want to update my GitHub profile . I want to add linkedin , VSCode , Nodejs , Reactjs , etc icons to my markdown . I want to know from where I should get these icons link cdn .

    I have seen that people are using imgur for it . I don't want to make an account on imgur just for icons ,so is there any other good option to get these icons cdn ?

  • Export Pivot table R in Markdown pdf format

    I would like to get some tips about the export of pivot table to pdf file.I have followed the method describe here but, an error message appears.It refers to pdfcrop and ghostscript.

    I have rode a lot of messages on forums (including Got knit issue with R)and tryed to re install Markdown, tinytex without results.As I don't have administrator's right to install pdfcrop and ghostscrip, i would like to get help to get an alternative solution..(Rstudio v1.3)As i complexe data table,ideally I would like to continue to use the packager, it would avoid me to start all over again


    I get the following message

  • Gatsby markdown get specific frontmatter under section

    I am struggling to parse specific frontmatter under a section. Do you guys have an idea?

    on my I want fields under the my_section_id only