IntelliJ IDEA
 
Get IntelliJ IDEA
You are viewing the documentation for an earlier version of IntelliJ IDEA.

Markdown

Last modified: 02 August 2022

Required plugin: Markdown (bundled)

Configure: Settings/Preferences | Languages & Frameworks | Markdown

Filename patterns: *.md and *.markdown

Markdown is a lightweight markup language for adding formatting elements to plain text. IntelliJ IDEA recognizes Markdown files, provides a dedicated editor with highlighting, completion, and formatting, and shows the rendered HTML in a live preview pane.

The Markdown editor provides several basic formatting actions in the popup that appears whe you select a text fragment:

  • Bold: Bold

  • Italic: Italic

  • Strikethrough: Strikethrough

  • Code: Code

  • Introduce reference: Convert an inline link to a reference link

  • Decrease header level: Decrease heading level

  • Increase header level: Increase heading level

  • Insert image: Insert an image

You can use the preview pane to see the rendered HTML.

Markdown editor

There is also completion for links to files in the current project, for example, if you need to reference source code, images, or other Markdown files.