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

Minification for embedded javascript? #13

Open
VorpalBlade opened this issue Apr 9, 2019 · 0 comments
Open

Minification for embedded javascript? #13

VorpalBlade opened this issue Apr 9, 2019 · 0 comments

Comments

@VorpalBlade
Copy link

This is a feature suggestion: There should be support for minifying embedded javascript.

This would be useful to deal with the javascript inserted by the render_math extension for example.

Similarly it would be nice to be able to minify embedded CSS.

html-minifier can do both of these, but unlike the minifier you currently use it is not written in python, instead using node.js. So using that would require using subprocess or similar to call out to the other program. Another option for implementation might thus be preferable. Or to offer different backends as options.

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