-
-
Notifications
You must be signed in to change notification settings - Fork 371
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
Would a pull request that adds notation information to some tokens be welcome? #128
Comments
Just wondering why you closed this issue, @marijnh. I’m interested in this too! |
my hope is that @marijnh's building a markdown AST <> html AST so they can be edited interchangeably in a side-by-side codemirror/WYSIWYG setup :) i've done something in the same ballpark with reMarked.js [1]... demo integration with redactor: [2], fork: [3], lots of discussion about the need [4][5]. dunno if there's a request/thread for Squire [6] yet, but there probably will be. Now that markdown has an official AST (it didnt when i started reMarked), this goal should be achievable and possibly even integrateble with operational transforms for collab, etc. [1] https://github.com/leeoniya/reMarked.js |
@leeoniya Oh, wow. Exactly what I was looking for! Thank you! |
I closed this because I've decided to use https://github.com/markdown-it/markdown-it instead. I may indeed be trying to pull of such an editor, but whether it is going to work, and whether the customer who I'm writing it for will open-source it, remains to be seen. |
I'm building a tool that uses Remarkable's parser to build up an AST, then does some stuff with that AST, and reserializes it. I'd like to have the resulting output be as close to the input as possible, but it currently is somewhat awkward to find out things like
These can be made much easier by having some extra properties on the corresponding tokens. If you have no problem with this, I'll submit a simple pull request to extend these tokens.
The text was updated successfully, but these errors were encountered: