JetBrains Fleet 1.33 Help

Markdown

Markdown is a lightweight markup language for adding formatting elements to plain text. JetBrains Fleet recognizes Markdown files, provides a dedicated editor with highlighting, completion, and formatting, and shows the rendered HTML in a live preview pane. Support is based on the CommonMark specification with an additional support for the most part of the GitHub Flavored Markdown dialect.

Enabling Markdown preview

  1. In the Files panel, double-click the Markdown file to open it in the editor.

  2. Click the preview icon located in the upper-right corner of the editor. Alternatively, press ⌥ ⌘ P.

  3. (Optional) Select the preview mode that you find most convenient.

Selecting preview mode

  • You have the option to choose from the following preview modes:

    • Split Preview Right: displays the file preview on the right side of the editor.

      Horizontal split
    • Full-Screen Preview: expands the file preview to cover the entire editor, similar to an open file, providing an unobstructed view of the document.

      Full-screen preview
    • Split Preview Down: positions the file preview directly below the currently open file.

      Vertical split

Set the default preview mode for Markdown files

  1. Open the IDE settings by pressing ⌘ ,. Alternatively, use the main menu:

    • Windows and Linux: click the Menu icon and navigate to File | Settings | Settings.

      workspace settings
    • macOS: from the main menu, click Fleet | Settings.

      workspace settings
  2. In the Search settings search field, type Markdown.

  3. From the Markdown preview drop-down list, select the preview mode.

    Once the default mode is set, Markdown files will open according to it.

    Set default preview mode for Markdown files

Create a new Markdown file

By default, JetBrains Fleet recognizes any file with the .md or .markdown extension as a Markdown file.

  1. Right-click a directory in the Project panel and select New File.

    Alternatively, you can select the necessary directory and press ⌘ N.

  2. Enter a name for your file with a recognized extension, for example: readme.md.

Last modified: 12 April 2024