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

Is Tree better than 2-level lists for markdown? #4

Open
puzrin opened this issue Jan 11, 2017 · 1 comment
Open

Is Tree better than 2-level lists for markdown? #4

puzrin opened this issue Jan 11, 2017 · 1 comment

Comments

@puzrin
Copy link
Member

puzrin commented Jan 11, 2017

  • We don't have selector engine anyway.
  • We could link open/close tokens to get fast intervals skip (if needed), and create a separate list for inline containers.
    • that will allow to use completely flat list.

Question:

  • Can we traverse inlines directly, without going through blocks?
@geyang
Copy link

geyang commented Mar 15, 2017

To me it doesn't make a difference. I will just convert 2-level array to a tree before I use it. I just need the inline-sourcemap :D, and whatever minimal effort that gets markdown-it there.

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