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

Output based on tag hierarchy instead of a flat file structure #5

Closed
TehShrike opened this issue Jan 25, 2020 · 0 comments · Fixed by #7
Closed

Output based on tag hierarchy instead of a flat file structure #5

TehShrike opened this issue Jan 25, 2020 · 0 comments · Fixed by #7
Labels
enhancement New feature or request

Comments

@TehShrike
Copy link
Owner

It would be useful to me if, instead of dumping all markdown files to the same output directory, they could be output based on tags.

So if a document had the #cool and #fancy/pants tags, the file would be written to both the cool directory, and the pants directory inside the fancy directory.

Documents without a tag could be written either to the root output directory, or an untagged directory. Without having thought about it a lot yet I'm leaning towards untagged.

This feature should probably be enabled by a new argument, maybe --use-tags-as-directories or something. mri could be used for easiness.

@TehShrike TehShrike added the enhancement New feature or request label Jan 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant