Hallo all,

when you open a github project in Intellij IDEA, it automatically opens the
README.md file.

[image: Idea-Readme-1.png]


[image: Idea-Readme-2.png]

[image: Idea-Readme-3.png]
When you open it in NetBeans, you only see the raw markdown text.

This simple NetBeans module (
https://github.com/jkost/MarkdownViewerForNetBeans/) implements the first
and third of the above screenshots (will provide an implementation of the
middle screenshot soon). The result looks like so. I used flexmark-java
<https://github.com/vsch/flexmark-java> (which is also used by NetBeans) to
convert the markdown to HTML to be displayed to a JEditorPane.

[image: NB-Readme.png]


Questions:

1. How to integrate it to NetBeans source code if it is found useful? Do I
need to create a plugin, sign it etc, then import it NB or it is easier
with a pull request?
2. Not sure which location it should be added. Inside editor, inside ide?

Any comments/suggestions are welcome.

Kind regards,

John.

Reply via email to