The Markdown editor provides several basic formatting actions in the floating toolbar that appears when you select a text fragment.
Right-click a directory in the Project tool window Alt+1 and select New | File.Īlternatively, you can select the necessary directory, press Alt+Insert, and then select File.Įnter a name for your file with a recognized extension, for example: readme.md. Open the Installed tab, find the Markdown plugin, and select the checkbox next to the plugin name.īy default, IntelliJ IDEA recognizes any file with the.
Press Control+Alt+S to open the IDE settings and then select Plugins. If the relevant features aren't available, make sure that you didn't disable the plugin. This functionality relies on the Markdown plugin, which is bundled and enabled in IntelliJ IDEA by default. Support is based on the CommonMark specification.
IntelliJ IDEA recognizes Markdown files, provides a dedicated editor with highlighting, completion, and formatting, and shows the rendered HTML in a live preview pane. Markdown is a lightweight markup language for adding formatting elements to plain text.