Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: As mindmap viewer/editor for existing markdown notes #9

Closed
janklostermann opened this issue Dec 6, 2022 · 2 comments

Comments

@janklostermann
Copy link

Thanks again for your great plugin!
I have just discovered, that the kityminder-editor, that you use as foundation of your plugin is also capable of importing markdown.

Would it be possible to use this capability provide an alternative previewer in this own pane that shows the note not as the usual interpreted markdown text, but as mindmap?
The user could then choose to view the markdown as text or as mindmap

The ultimate idea would be the ability to even edit the markdown through the mindmap-editor then.
But this creates the same troubles as for all WYSIWYG-editors in terms of not corrupting the original - including the RichText editor that Joplin already provides: The particular markdown formating might have meaning to the user, even if it does not have meaning to the interpreter (previewer, editor, ...), in this case kityminder-editor. If the editor then does alter the markdown and does not respect these "external" especialities (that it does not (and can not) know of) when saving, then this data/information is lost to the user (even if the interpreter does not even perceive this).
Examples of data at risk might be: existing frontmatter yaml, whitespaces and new-lines, choice of bullet point symbol, syntax extentions from other plugins, etc.
Therefore such an editing should either be 100% not-corrupting or be switched-off by default. Enabling should only be possible after actively conforming that the user is aware of the potential corruptions.

Thanks for considering.

@xeden3
Copy link
Owner

xeden3 commented Dec 15, 2022

Thanks for your advice
Because I only use markdown on joplin, I am not familiar with the interface of rich text
I'll look into the possibilities for this part.

@xeden3 xeden3 closed this as completed Dec 15, 2022
@janklostermann
Copy link
Author

Does this "closed as completed" mean that the preview of an existing markdown note as a (kityminder-) mindmap is already available?

Maybe to clarify my idea: a markdown note such as:

# topic
This topic is about testing
* part 1
* part 2

## test

## test2
details on test2
### sub-test2
more diving into it

would result in
2c4b297f2dd64014b350d1bfb160a658

I discovered that by right-clicking on a node in the kityminder-editor there is also import and export available. But these do not work as expected, as they do not care about the markdown structure. It seems that the data is interpreted as in txt format.

@janklostermann janklostermann changed the title As mindmap viewer/editor for existing markdown notes Feature Request: As mindmap viewer/editor for existing markdown notes Dec 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants