Replies: 5 comments 12 replies
-
I believe this should do it, please come back to this discussion and share your findings, or fork this and develop it further: |
Beta Was this translation helpful? Give feedback.
-
Great, you're welcome to contact the plugin owner, and work with them on this, and/or ask whether the sources can be contributed to Apache NetBeans so that we can work together on them here. |
Beta Was this translation helpful? Give feedback.
-
For the record: Markdown "syntax highlighting" is here: https://github.com/apache/netbeans/tree/master/ide/markdown. The big question would be what you expect from syntax highlighting and it might mean, that you have to redo the whole work again with a different approach. What is currently missing is a preview. You can use a java library to render the markdown to HTML and use WebView or even Swing TextView to render the result. |
Beta Was this translation helpful? Give feedback.
-
@geertjanw I suggest to reopen the issue, as there is nor preview nor syntax highlighting at least in NB 12.5. |
Beta Was this translation helpful? Give feedback.
-
Hey @PashaTurok thx for your ticket and the discussion. I can understand your frustration, so let me just try to make some things clearer. So with NetBeans 12.* somehow, markdown syntax highlighting was added but just basic one via textmare lexer files like in VS Code or others who uses textmate nowadays. So this is very very basic and not super highlighted what you and me would expect. To make it clear, I have the same file, side by side left is the core NetBeans support and right is the flow-markdown plugin support: So yeah there are differences. But again this was implemented. So I would say this will be another ticket for "making the highlighting better". What you mean by full support could be a lot and we need to clarify it, not just in one ticket.
So as you can see, there is a lot what we would like to have in a full or more powerfull markdown support in NetBeans. Unfortunately, priorities are different and me and also another one tried to fix one or two things but not for the core, more or less for the plugin. A lot of stuff were already created as issues in the flow-markdown plugin as you can see. At the end, all those stuff is nice but shouldn't be handled in just one ticket like "Add full markdown support". Not clear enough what you meant by full. So for those stuff, the discussion section is here or better to make a proposal: https://cwiki.apache.org/confluence/display/NETBEANS/Feature+Request+Outlines what you mean and what could be a full markdown support. Hope that makes things a bit clearer. |
Beta Was this translation helpful? Give feedback.
-
Description
I use Apache NetBeans IDE 12.5 and highlighting doesn't work for markdown files. Besides, when readme.md is in the root of the project (where it usually is) NetBeans doesn't show the file on Projects tab - it is necessary to open Files tab.
And of course, when we talk about markdown support it means that it must have preview. Without preview it doesn't have any sense. So, I suggest to add a full support for markdown files.
Use case/motivation
No response
Related issues
No response
Are you willing to submit a PR?
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions