For some reason, Android Studio doesn’t have built-in support to preview Markdown.
But, I hear you say, “look here, there is a plugin!” *.
You are correct! However, already in the overview, there’s a link to a fix for the preview not working in Android Studio *.
The fix is very simple:
- Open
Actions
withCtrl+Shft+A
- Then type
Choose Boot Java Runtime for the IDE
- Now choose a runtime with JCEF (Java Chromium Embedded Framework), which is what is used for the preview.
However, it isn’t fully-featured, notably with no iframe support! Your only other option to embed videos is to use an image that links to the video. This is what I did for my Video Group component. You can also do the same thing in pure markdown:
[](http://www.youtube.com/watch?v=VIDEO_ID)
Even VSCode’s preview (which you can enable with Ctrl+Shft+V
) has security you can disable to load var
So, honestly, just use VSCode or your preferred editor when working with Markdown.