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

mpx build will not write files if invoked with --input src #9

Open
digitalronin opened this issue Oct 18, 2022 · 0 comments
Open

mpx build will not write files if invoked with --input src #9

digitalronin opened this issue Oct 18, 2022 · 0 comments

Comments

@digitalronin
Copy link

I've been playing around with mpx ("@mathpix/mpx-cli": "^0.4.0") to build a github pages site from some markdown files with inline and block equations, and noticed some strange behaviour.

Given src/index.mmd, and an empty docs directory, invoking mpx with npx build --input src --output docs results in:

bash-5.1# npx mpx build --input src --output docs
Converting src to docs
Wrote 0 files in 0.24 seconds

If I rename src to source and repeat, it works fine:

bash-5.1# npx mpx build --input source --output docs
Converting source to docs
Wrote 1 file in 0.57 seconds
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