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

Improve performance by rendering markdown partially #68

Open
CNSeniorious000 opened this issue Sep 28, 2024 · 2 comments · May be fixed by #73
Open

Improve performance by rendering markdown partially #68

CNSeniorious000 opened this issue Sep 28, 2024 · 2 comments · May be fixed by #73
Assignees
Labels
enhancement New feature or request

Comments

@CNSeniorious000
Copy link
Owner

Use MarkdownIt.parse to implement this.

@CNSeniorious000 CNSeniorious000 added the enhancement New feature or request label Sep 28, 2024
@CNSeniorious000 CNSeniorious000 self-assigned this Sep 28, 2024
Copy link

linear bot commented Sep 28, 2024

Copy link
Owner Author

Or we can try using another markdown parser like marked.

This is because MarkdownIt.parse's result is somehow not ready to render: it produces a list of tokens, but we want a nested tree. Although transforming that should be easy enough, it may hurt performance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant