-
Notifications
You must be signed in to change notification settings - Fork 23
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] Automatically turn hashtags to tags #206
Comments
Hey @pabloscloud! 👋🏻 Thanks for filing this 🙏🏻 — Apologies for the delayed responses here, we have been extremely busy since the whole EU / US vs Apple saga began and I had to testify in March. I wrote a little bit about Markdown in #204 — specifically about how And since Markdown doesn't support tons and tons of features Cryptee has (tags, tables, font sizes you name it), we don't use Markdown as a storage format, because it wouldn't be interoperable or safe to do so. We can add a custom tag format by hand and extend on our own shortcuts while typing in stuff though. (importantly however, this wouldn't work while importing/converting markdown files to cryptee docs — it would only work while typing in realtime. Making sure our importer works would require us to build upon the markdown spec, since our importer is following the markdown spec for interoperability reasons. (and occasionally we cheat to allow github flavored markdown (GFM) specs, i.e. in cases of tables) Line 225 in 98e8c39
Let me know what you think, and we can consider adding in another shortcut to tags if that would help your use case — even though these tags won't be visible on export to markdown. Hoping this makes sense. All the best, J |
I get that you don't use markdown to store notes, but when importing a markdown file (either by uploading or copy pasting) cryptee could identify the hashtags in the text and convert words to tags, right? I don't care too much about these bracket tags (which just added the functionality of having multiple words as one tag). Hope that makes sense! I appreciate all your work towards apple drama and the public chats with Henry from Techlore on yt ;) |
Thanks for getting back and your kind words! It's a little trickier, but we maaaay be able to do this. i.e. when you press But when you bulk import, you don't go through the text character by character, as that would be insanely inefficient. And if we do simple regex detection for things like
So I'm going to look into this and see if we can detect TLDR; Point being : All implementations of markdown you see in the wild that support tags are custom, random, non-compliant, not-interoperable implementations made by others. Even here on Github, in this text editor. If you use Hoping this makes sense! |
Is your feature request related to a problem? Please describe.
I tried importing markdown files from logseq, but need to convert all tags I created inside of logseq to actual tags in cryptee.
Logseq also uses a special version where they use [example] instead of #example so that names with spaces can be tags. I'd love to see this in cryptee as well but that's not a biggie.
The text was updated successfully, but these errors were encountered: