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

replace mdl (ruby) with JS mdl #1

Open
brucellino opened this issue Aug 3, 2023 · 3 comments
Open

replace mdl (ruby) with JS mdl #1

brucellino opened this issue Aug 3, 2023 · 3 comments

Comments

@brucellino
Copy link

This image uses mdl to perform markdown linting, which brings a large dependency on the entire Ruby runtime. This greatly increases the size of the image.

We need the NodeJS runtime anyway for other tools - I suggest that we replace the ruby markdownlint with the NodeJS implementation: https://www.npmjs.com/package/markdownlint

@brucellino brucellino changed the title replace mdl (ruby) with replace mdl (ruby) with JS mdl Aug 3, 2023
@rascasoft
Copy link
Member

Agreed. But don't forget all the Pandoc stuff, which is really huge.
I don't actually know how much we will save with npm js but it's a great idea!

@rascasoft
Copy link
Member

In addition to this, let's consider the fact that we are using Ubuntu as base OS, but we might use Alpine (like the original Marp container does). This should save a considerable amount of space.

@brucellino
Copy link
Author

Ok - let's keep this open and eat the elephant slowly :)

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