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

Can I have markdown as a list? #71

Closed
ghost opened this issue May 25, 2020 · 1 comment
Closed

Can I have markdown as a list? #71

ghost opened this issue May 25, 2020 · 1 comment

Comments

@ghost
Copy link

ghost commented May 25, 2020

I am concern about performance.

Will this package renders the marked texts as a loop or it parse from string ??

because if there the marked text renders as loop then may affect on performance, please someone help me and sure how this package works.

@iamacup
Copy link
Owner

iamacup commented May 25, 2020

The input text is passed through markdown-it (using themarkdownIt.parse) which spits out a nested array of objects that represent the items to render.

This is itterated over and displayed - o(n)

@iamacup iamacup closed this as completed May 25, 2020
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

1 participant