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

Process markdown in a worker #77

Open
eight04 opened this issue Mar 9, 2021 · 3 comments
Open

Process markdown in a worker #77

eight04 opened this issue Mar 9, 2021 · 3 comments

Comments

@eight04
Copy link

eight04 commented Mar 9, 2021

I got this message while trying to preview a 7MB markdown file.
image

@Cimbali
Copy link
Owner

Cimbali commented Mar 10, 2021

Hmm 7MB might be a lot indeed. I didn't know workers were available for extensions, will definitely look into it.

@Cimbali
Copy link
Owner

Cimbali commented Apr 5, 2021

Using workers is in fact really hard for this use-case, as the extension’s javascript files can not be loaded from the page where we inject the markdown rendering scripts, due to cross-site request limitations.

@eight04
Copy link
Author

eight04 commented Apr 5, 2021

In my experience, it is possible to use worker in background page and extension pages but I'm not sure about content script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants