If your code blocks are not meant to be syntactically correct, you may want to disable code injection and syntax errors in code blocks. This enables syntax highlighting and other coding assistance features for the specified language: completion, inspections, and intention actions. If you specify the language for the code block, by default, the Markdown editor injects the corresponding language. To insert a fenced code block, use triple backticks ``` before and after the code block. 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. You can use the preview pane to see the rendered HTML. 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 make sure that the checkbox next to the plugin name is selected.īy default, IntelliJ IDEA recognizes any file with the. Press Ctrl+Alt+S to open the IDE settings and select Plugins. The plugin comes bundled with IntelliJ IDEA, but if you observe any malfunction, make sure that the plugin is enabled. This functionality relies on the Markdown plugin. IntelliJ IDEA recognizes Markdown files, provides a dedicated editor with highlighting, completion, and formatting, and shows the rendered HTML in a live preview pane. If you want to use the WYSIWYG editor, you can switch to it at a project or article level.Markdown is a lightweight markup language for adding formatting elements to plain text. Markdown editor is the default editor for all new projects and articles in Document360. The WYSIWYG editor is different than the Markdown editor in that what you see when you draft an article will look exactly the same when the article is published. Use the arrows on the divider to collapse either portion of the editor. You can find this copy link icon in category page, article, and Index page.Īs you type the content on the left side, you can view the rendered output on the right side. Once you published your article, you can find a Copy link icon next to View in knowledge base icon. Click Scroll on to disable the auto-scrollĬlick View preview to see your article as it will appear on your knowledge base site Scroll on indicates the two sections of the text editor will scroll simultaneously as you scroll on one screen. The preview screen on the right side allows you to view how your article will look before publishing it The left side of the screen is where you type and apply Markdown syntax The Markdown editor has a split-screen workspace, as well as other features to help you manage an article as you write it. If your article includes images, videos, tables, or other media, use the WYSIWYG editor for easier formatting. If your article is mostly text-based, or if you need to insert code blocks or other custom HTML tags, use the Markdown Editor. In WYSIWYG mode, you would use the formatting toolbar to insert an image, then click on the image to view options to change the image size and styles. You can also apply other styles to the image by adding additional HTML and Markdown. You can then change the height and width of the image by adding the desired values (for example: height="600px" width="400px"). However, the flexibility comes with using markdown syntax or HTML.įor example, you can insert images into your article using the toolbar, which injects the following markdown: Markdown editor provides a lot of flexibility for article creation and customization. By default, all projects and articles use the Markdown editor