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
Checklist format not consistent with most editors #71
Comments
Hey. Your proposal sounds great. Please let me know if I can help - you can email me or message me on Telegram (vHanda). Regarding detecting if the document only contains checkboxes - I was thinking of a simpler solution where we store the editor used with each note (if it isn't the default). What do you think? |
I think that's a cool idea as well...
And I wonder if the checklist editor could actually be integrated into the document itself... to where it would become a global option of "enable checklist editor"... so any checklists in the document use the editor, and the other markdown still displays normally.. I almost got fully up and running with a dev environment two nights ago with only a couple kinks.. Talk soon! |
So as far as I understand the checklist-detection to use the right editor is now implemented? But would it be possible to change the syntax the checklists use from
to
to make it more compatible with other markdown editors/parsers? |
Yes. It's something that has been annoying me a lot. I've tried to do this
a few times now and because of the way the markdown parser in dart is
implemented, it's quite challenging.
I think I'm just going to hack around it, and maybe not even parse all of
the markdown, but just go line by line and use a simple regexp.
…On Sat, Apr 25, 2020, 8:50 PM Michael ***@***.***> wrote:
So as far as I understand the checklist-detection to use the right editor
is now implemented? But would it be possible to change the syntax the
checklists use from
[ ] item
to
- [ ] item
to make it more compatible with other markdown editors/parsers?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#71 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADIDY56BKNDCSJY6Y7FHI3ROMWGJANCNFSM4K4OPSDA>
.
|
GitJournal's format:
Common Markdown format:
For example, pasting those two in the GitHub editor results in:
[ ] Item 1
[ ] Item 2
[ ] Item 3
From the GitHub blog: https://github.blog/2014-04-28-task-lists-in-all-markdown-documents/
Also tested in a few desktop Markdown editors. I would like to try working on this unless someone else gets to it first... I might also want to add a detection of whether a document contains only a checklist, and use the checklist view by default (perhaps via setting)
The text was updated successfully, but these errors were encountered: