Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why are some buttons grayed out in the markdown plugin for IntelliJ?

I'm using this plugin as a markdown plugin in IntelliJ. I tried to make a quick unordered list, but the button is grayed out. In fact, most of the buttons are grayed out. The only ones available to me are simple functions like bold, italics, strikethrough, etc. Here's a screenshot for reference:

enter image description here

I've tried highlighting sections of text, moving my keyboard cursor around, different kinds of markdown--all without any luck of "unlocking" the lists, tables, etc. so I must be doing something wrong. Anyone know?

like image 578
heez Avatar asked Oct 21 '16 21:10

heez


People also ask

How do I use Markdown plugin in IntelliJ?

Press Ctrl+Alt+S to open the IDE settings and select Languages & Frameworks | Markdown. Enable either Mermaid or PlantUML under Markdown Extensions. After IntelliJ IDEA downloads the relevant extensions, click OK to apply the changes.

How do I show Markdown preview in IntelliJ?

Markdown language settings Use this page to configure Markdown support in IntelliJ IDEA. Select the default layout for the Markdown file editor: show only the editor, only the preview pane, or both. You can change it using buttons in the top right corner of the editor.

What is a markdown plugin?

Markdown extensions allow you to extend and enhance Visual Studio Code's built-in Markdown preview. This includes changing the look of the preview or adding support for new Markdown syntax.

How do I edit markdowns in PyCharm?

PyCharm highlights various Markdown elements according to the color scheme settings. In the Settings/Preferences dialog ( Ctrl+Alt+S ), select Editor | Color Scheme | Markdown. Select the color scheme, accept the highlighting settings inherited from defaults, or customize them as described in Colors and fonts.


2 Answers

Enabling the enhanced features using trial license

Goto http://vladsch.com/product/markdown-navigator/try and get a trial license (which will be e-mailed to you).

Then in Intellij, goto Settings -> Language and Frameworks. I noticed that there was already a license installed for me after first installing the Markdown Navigator plugin. However, based on the available features this license is the Basic version only (and had a validity of 73 days for me).

Click on Remove License and then paste the license code that you received in the e-mail. After that you should see this:

enter image description here

From the comments on the official markdown plugin page, it appears that the official plugin is not very stable.


Other free options

I have found the Markdown Navigator plugin to be quite useful and well worth the 20 USD per annum fees. However, if you are looking for just that one off editing of markdown files, then there are other options as well.

The one I find most convenient is the online StackEdit for quick editing tasks:

enter image description here


Best of both the worlds

If your work involves a bit more frequent editing of markdown files and you are averse to paying the licensing fees for for the Markdown Navigator, then with just a bit of work, it's possible and comes close to the convenience of using the Markdown Navigator.

Step 1 - Add an external editor of choice

I have used Typora as an example here, however there are others like Write (Freemium), ReText (Open Source) which can be used in a similar manner.

Here is how to add Typora as an external tool in Intellij Idea:

enter image description here

Note that $Filepath$ should be quoted as "$FilePath$" if there are likely to be spaces in your project path. Would recommend quoting nonetheless.

Also, note that the Group was set to Markdown Editors. This is significant as the Group name will be the name of the Menu item later on.

Step 2 : (Optional but recommended) Add a keyboard shortcut for Typora

enter image description here

Step 3 : Use the external editor!

Typora will now be available both using the keyboard shortcut or using Tools -> Markdown Editors (Remember that Markdown Editors was the name of the group in Step1?)

The following shows using both the keyboard shortcut and the menu item:

enter image description here

Note that, thanks to Intellij's auto-reload/refresh, as soon as you are done editing in Typora and focus the file (Readme.md in the above), the changes are automatically reflected there.

like image 131
Ashutosh Jindal Avatar answered Sep 30 '22 05:09

Ashutosh Jindal


Kind of Enhanced Features will be available only if you have license.

In IntelliJ File | Settings | Languages & Frameworks | Markdown in License Information section you can buy it or use free trial for 15 days.

like image 41
Anton Dozortsev Avatar answered Sep 30 '22 04:09

Anton Dozortsev