Where is Android Studio Markdown support plugin preview preference?

Android Studio

Android Studio Problem Overview


I want to show preview for markdown. But it is not shown.

I am using Markdown support by JetBrains. And Android Studio 3.1

Plugin

I found IntelliJ help.

https://www.jetbrains.com/help/idea/markdown.html Jetbrains Help

But I can not see that preference.

Preference

How can I see markdown preview?

Android Studio Solutions


Solution 1 - Android Studio

  1. Go to File>Preferences>Editor>File Types then select Files Opened In AssociatedApplications and add *.md to the list

Go to File>Preferences>Editor>File Types then select Files Opened In AssociatedApplications and add *.md to the list

  1. Reassign the wild card

Reassign the wild card

  1. Do likewise for the Text file type

Do likewise for the Text file type

  1. Enable the Markdown

Enable the Markdown

  1. Go with Vladimir Schneider

Go with Vladimir Schneider

  1. Preview like a bawse!

Preview like a bawse!

UPDATE: As mentioned by @desgraci below. It's now a paid plugin. It doesn't even show up. It would ideally work as indicated in the updated documentation but some requests left in the reviews.

Solution 2 - Android Studio

I'm unable to make it work.

I suggest giving up and opening it in Visual Studio Code.

Right-click tab with your file, select Split Right. In second instance, right-click tab again and select Open in Preview.

Now you have text and preview at the same time.

Solution 3 - Android Studio

Updating JetBrains Runtime (JBR) will solve the issue.
  1. Start the IDE, use Help -> Find Action, type "Choose Boot Java Runtime for the IDE", press Enter.
  2. Select the newest version to install.
  3. Click the OK button and wait until the file with JetBrains Runtime is downloaded and configured.
  4. Restart the IDE.
  5. Enjoy.

Solution 4 - Android Studio

There is another plugin which is "Markdown Navigator Enhanced" and that I tested on Android Studio 3.5.2, it enables a toolbar with some editing functions as well as the preview options.

You can Edit, preview or do both in a split window, you can even show the HTML code.

The plug-in is paid, but it has a 30-days trial that can be good for a short usage.

Solution 5 - Android Studio

Download plugin first,and then you'd better do something to active it:

Windows: AndroidStudio ->File -> Editor ->Coe Style -> File Types->Markdown-> + -> *.md -> ok -> ok

Mac: AndroidStudio -> Preferences -> Editor -> FileTypes -> Markdown-> + -> *.md -> ok -> ok

Then enjoy writing in md.

Solution 6 - Android Studio

This is not just a JavaFX issue, which can be resolved by installing Choose Runtime plugin and choosing a different JDK. The Markdown plugin itself also references classes from IntelliJ UI, which means that even with a runtime that includes JavaFX, it still requires IntelliJ and won't work properly with Android Studio:

Caused by: java.lang.ClassNotFoundException: com.intellij.ui.javafx.JavaFxHtmlPanel PluginClassLoader[org.intellij.plugins.markdown, 193.6494.42] com.intellij.ide.plugins.cl.PluginClassLoader@4fa7c8ac
at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:77)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
... 93 more

It will still work with the default bundled JDK, just reduced functionality without the preview panel.

References:

https://intellij-support.jetbrains.com/hc/en-us/community/posts/360003498520-Mardown-plugin-doesn-t-show-preview

https://intellij-support.jetbrains.com/hc/en-us/articles/206544879-Selecting-the-JDK-version-the-IDE-will-run-under

Solution 7 - Android Studio

A little late but you can go to Settings/Preferences -> Editor -> File Types. Select Markdown Language from the list. Below, in the Registered Patterns section, add *.md, press ok, and restart Android Studio

Solution 8 - Android Studio

Elijah's answer is great, but you may have to do ↓ after his actions.

Preferences -> Editor -> FileTypes -> Markdown-> + -> *.md

Solution 9 - Android Studio

My solution to this issue is to preview on VS Code

Go to File>Preferences>Editor>File Types then select Files Opened In AssociatedApplications and add *.md to the list

when you open the md file it will ask if you want to open it with your favorite file editor select vs code

Solution 10 - Android Studio

Alternatively you can use markdown editors separately. Here are few options:

  1. MacDown for Mac
  2. Typora
  3. GhostWriter

Few more online editors:

  1. StackEdit
  2. Dillinger
  3. Editor.md
  4. Draft

Solution 11 - Android Studio

Since there is no good plugin for Android Studio IDE, If you have VS Code, I recommend Markdown Preview Enhanced plugins.

Or if you work a lot with Notepad++ , you can install the MarkdownViewerPlusPlus plugin

Follow folowing steps for Notepad++ MarkdownViewerPlusPlus plugin setup:

  1. Download MarkdownViewerPlusPlus, you get a .dll file
  2. Open notepad++ -> plugins -> open plugin folder
  3. create subfolder "MarkdownViewerPlusPlus", paste your .dll file
  4. restart notepad++, in plugins menu options now you should see MarkdownViewer++.

Solution 12 - Android Studio

File -> Editor -> File Types->Markdown-> + -> *.md -> ok

File -> Editor -> File Types -> ASSOCIATE FILE TYPES WITH ANDROID STUDIO -> select all -> ok -> yes

File -> Plugins -> Marketplace -> search "Markdown" -> install -> APPLY -> OK

Help -> Find Action -> "Choose Boot Java Runtime for the IDE" -> Select the runtime that comes with JCEF support -> OK

restart Android Studio

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestiontakahiromView Question on Stackoverflow
Solution 1 - Android StudioElijahView Answer on Stackoverflow
Solution 2 - Android StudiosolidogenView Answer on Stackoverflow
Solution 3 - Android StudioMuhammed naseef KoppilakkalView Answer on Stackoverflow
Solution 4 - Android StudioSalim Mazari BoufaresView Answer on Stackoverflow
Solution 5 - Android Studio张铎耀View Answer on Stackoverflow
Solution 6 - Android StudioprusswanView Answer on Stackoverflow
Solution 7 - Android StudioJorge ReinaView Answer on Stackoverflow
Solution 8 - Android StudiosudameView Answer on Stackoverflow
Solution 9 - Android StudioshaarawyView Answer on Stackoverflow
Solution 10 - Android StudioKhamidjon KhamidovView Answer on Stackoverflow
Solution 11 - Android StudioAmir Dora.View Answer on Stackoverflow
Solution 12 - Android StudioJ-iSkELoView Answer on Stackoverflow