-
Notifications
You must be signed in to change notification settings - Fork 96
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
Only support markdown in future releases? #224
Comments
Yes, that was the "long term" goal I had in mind. At startup, the Zettelkasten checks the current data base version (https://github.com/sjPlot/Zettelkasten/blob/master/src/main/java/de/danielluedecke/zettelkasten/tasks/UpdateFileTask.java) and then updates the data base, if required. We should somehow softly deprecate this, e.g. when user still enters ubb-tags by hand, that these will be converted to markdown when the entry is saved. Internally, we should definitely convert all UBB to markdown when this feature is implemented (to update the database). |
I think the easiest solution would be to convert the ubb code to html (as already implemented) and then convert the html back to markdown (see also flexmark section on that) |
Could we use a common rich text editor and strip down the resulting (X)HTML to the set we want to allow in the Zettelkasten application? Cf. Issue #131 Could we use something like Quill ? |
So far it was not planned by Daniel to include a richtext editor (see here). Richtext inserts could also be solved by inserting the copied text as markdown. If we should implement a WYSIWYG editor I would rather use JavaFX instead of JS. We would have to use a JavaFX component to implement JS anyway, which would be fiddly. |
See gotchamana / CrazyNote for using 3rd party JavaScript library Quill via WebView with Java/Kotlin. |
Let me just note, that I plan to expand on this question "Only support markdown in future releases?" at a later point in time. For now, I'd like to mention that I feel the need for a more general solution as to agree upon the one and only format. Given the resent hipe around Roam Research and the revival of Org mode and good old Emacs, one might as well argue for Org mode plain text files as another candidate format. |
Important question with a view to this topic: I have no idea of how much of a redesign this would need, so apologize for appearing demanding... 😉 But in my view, this latter solution would make the zkn3 much more future proof as it would easily be possible to migrate from (and to) other apps, as well as to establish an internal linking structure that can be identified by every modern markdown editor or outliner! And it would open up the possibility to share my zettelkasten data with other apps - and maybe even with other people (though at this point this possibility doesn't strike me personally....) |
@alltagsverstand
|
This issue is stale because it has been open for 30 days with no activity. |
This issue was closed because it has been inactive for 14 days since being marked as stale. |
Continuation of the idea of #195: We should perhaps consider supporting only markdown in the future and converting old ubb-sheets to markdown, since markdown formatting seems simpler and more standardized than BB code, at least to me. What are your thoughts on that @strengejacke @RalfBarkow ?
The text was updated successfully, but these errors were encountered: