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

Add --input-dir option to keep directory structure #16

Merged
merged 9 commits into from
Sep 15, 2018
Merged

Add --input-dir option to keep directory structure #16

merged 9 commits into from
Sep 15, 2018

Conversation

yhatt
Copy link
Member

@yhatt yhatt commented Sep 15, 2018

This PR will add --input-dir (or -I) option to keep directory structure in output folder.

We support conversion multiple markdowns in folder, but output path is always same folder and it cannot change. This behavior is a problem if you want to convert markdowns in specified folder into another folder. (e.g. /slides ➡️ /dist)

When you want to convert markdown from slides folder into dist, you can be setting config like below:

inputDir: slides
output: dist

@yhatt yhatt merged commit ab5957d into master Sep 15, 2018
@yhatt yhatt deleted the outdir branch September 15, 2018 15:25
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

Successfully merging this pull request may close these issues.

1 participant