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

Markdown

Last modified: 15 October 2021

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. CLion 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.

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.