I've added a README.md
to my project and am using it actively as I go along writing my app. I'd like to finalize it before pushing to GitHub but I don't see a way to preview the markdown in Android Studio.
I saw something about a plug-in possibly being available, but it looked a bit janky. Is there something being used commonly use out there?
CodePudding user response:
Ok, so with my version of Android Studio Chipmunk | 2021.2.1 Patch 2, the Jetbrains Markdown plugin is pre-packaged and automatically installed. BUT, the preview panel doesn't work in the Android Studio version of Jetbrains out of the box. There's already a great write-up on this: [https://joachimschuster.de/posts/android-studio-fix-markdown-plugin-again/]. Here's the summary:
- Check for the
Markdown
plugin atFile
|Settings
|Plugins
- If that's installed, follow the instructions in the link above to change the Java Runtime for the IDE to one with JCEF (Java Chromium Embedded Framework) support:
Shift
Ctrl
A
to open search. Search for "Choose Boot Java Runtime for the IDE…", execute it, select a runtime with JCEF in its title (like the default), and hitOk
to install it. - After reboot, opening a *.md file will show a preview pane!