Repository navigation
A very minimal, but functional viewer for Markdown files. - #5891
Conversation
|
I really like it! It's also going to be helpful to me. |
mbien
left a comment
There was a problem hiding this comment.
looks great! seems to be a good use case for the split editor view.
61b8c18 to
3296ca2
Compare
|
BTW aren't the split actions are mixed up? Split vertically would do a horizontal split and split horizontally does a vertical split. Or that is just mixed up in my head? |
|
Great news, thx. You haven't heard of this plugin, right? https://github.com/moacirrf/netbeans-markdown It is great and powerful, but has also some problems while syncing the scroll position etc. I like the idea to have it inside the core. |
|
Looks great! It's simple, but something to build on if need be.
I think that's just your head! 😉 At least, it's the way I would expect them to be - split horizontally, put side by side, split vertically, put one on top of the other. |
|
Will this support color themes? The code blocks should stand out more. |
Theoretically we can do some basic color/style support by adding some CSS. Tough that's really far from my expertise. I can start a PR though, if anyone would show up doing the real CSS work, I can make sure that those styles are applied in the "Viewer" |
|
I can do the css :) |
|
Thanks @lkishalmi and @Chris2011 |
Well, I was missing the Preview functionality for Markdown files. I used some plugins a few years ago. I think the plugin portal is down at the moment, so I could not find that. I came up with something very basic. It uses the existing flexmark library we ship with the IDE. I do not think it's bulletproof, but better than nothing. Regarding that the implementation so simple, its a shame I have not done it earlier, so it could be in NB18.