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

Markdown

Last modified: 01 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 when you select a text fragment:

  • Bold: Bold Ctrl+B

  • Italic: Italic Ctrl+I

  • Strikethrough: Strikethrough Ctrl+Shift+S

  • Code: Code Ctrl+Shift+C

  • Decrease header level: Decrease heading level

  • Increase header level: Increase heading level

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

Markdown editor formatting toolbar

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.

Markdown editor completion popup