Markdown language support for IntelliJ IDEA, RubyMine, PhpStorm, WebStorm, PyCharm, AppCode and Android Studio.
You can download it on the JetBrains plugin page.
For any communications requiring a reply please use the GitHub Issues page for this plugin. There is no ability to reply to comments left on the JetBrains plugin comment and rate page.
Wiki Pages added with instructions on how to include your GitHub wiki in the IntelliJ IDE so you can work on the wiki in the IDE and use the plugin for syntax highlighting and preview. Makes adding images and manipulating the wiki a lot easier.
-
Free and open source for the basic functionality.
-
Licensed version with enhanced refactoring and code completion functionality. 30-day free trial licenses are available in plugin preferences and from idea-multimarkdown
It all started with a desire to see Markdown files in PhpStorm IDE as they would look on GitHub. I was already using nicoulaj/idea-markdown plugin but found its preview was more like Craig's List than GitHub. It did not appear to have been recently updated, so I decided to fork it and modify the style sheet it uses. How hard could that be?
I found out quickly that there was more to it than meets the eye. Rendering is done by Java not a browser, the parser is HTML 3.1 and not all features are implemented. Additionally, the Table extension did not work in the version of pegdown
used by the plugin. I needed that because maintaining HTML tables is a pain. So I upgraded the plugin to use the latest pegdown
, parboiled
and fixed a few bugs. Since I was already in the code, I might as well add a few more desired features like user editable style sheet, fix a few more bugs, add updates to preview so that I could split the editor pane and edit in one while seeing the preview in the other.
Then I encountered some bugs in parsing of compound nested lists in pegdown
and had to dive into its source to fix them. Having done that and gotten familiar with it, I decided to add a new extension. Finally, to help me with debugging and generating test expectations for pegdown
, I had to have the HTML Text tab to display the generated HTML.
It has been a fun trip down the rabbit hole of IntelliJ IDEA plugin development that started with a simple desire for a Markdown preview that looked like GitHub's.
- Striped tables
- GitHub style task list items
- CSS editable in settings
- Option to require a space after
#
for Atx headers - HTML Text tab to view the generated HTML
- syntax highlighting, color striped tables by row and column in your source
- Default and Darcula for syntax highlighting and for HTML Preview supported. CSS Style sheet for HTML Perview selectable in Settings/Other Settings/MultiMarkdown.
- Add Lexer to use IntelliJ standard features
- Add Standard HTML/CSS rendering engine to make styling easier.
- Add PsiBuilder compatible parser to implement expected comforts:
- formatting
- navigation
- refactoring
- document structure display
This plugin is using a modified version of sirthias/pegdown, I post my PR's but there is always a delay in both generating them and for them to be merged. I added a few changes and extensions to the parser. For now I am using my forked copy until the official version has all the features.
The pegdown source used in this plugin can be found vsch/pegdown.
* This plugin is based on the Markdown plugin by nicoulaj, which is based on pegdown library by sirthias.