-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Support metadata directory in data directory #5876
Labels
Comments
Seems like a good idea! Should not be too difficult either, so I'm marking it as a "good first issue". |
Hi, is anyone working on this? If not I'd like to take a stab at it. |
evenbrenden
added a commit
to evenbrenden/pandoc
that referenced
this issue
Jan 18, 2022
Metadata found in any YAML files under $DATADIR/metadata will be applied for a conversion. These will not have precedence over metadata found in files loaded using --metadata-file. Issue jgm#5876
evenbrenden
added a commit
to evenbrenden/pandoc
that referenced
this issue
Jan 18, 2022
TODO: Consider writing a command test Metadata found in any YAML files under $DATADIR/metadata will be applied for a conversion. These will not have precedence over metadata found in files loaded using --metadata-file. Issue jgm#5876
evenbrenden
added a commit
to evenbrenden/pandoc
that referenced
this issue
Jan 18, 2022
Metadata found in any YAML files under $DATADIR/metadata will be applied for conversions. These will not have precedence over metadata found in files loaded using --metadata-file. Issue jgm#5876
evenbrenden
added a commit
to evenbrenden/pandoc
that referenced
this issue
Jan 19, 2022
If files specified with --metadata-file are not found in the working directory, look in $DATADIR/metadata. Closes jgm#5876.
evenbrenden
added a commit
to evenbrenden/pandoc
that referenced
this issue
Jan 19, 2022
If files specified with --metadata-file are not found in the working directory, look in $DATADIR/metadata. Closes jgm#5876.
evenbrenden
added a commit
to evenbrenden/pandoc
that referenced
this issue
Jan 21, 2022
If files specified with --metadata-file are not found in the working directory, look in $DATADIR/metadata. Closes jgm#5876.
evenbrenden
added a commit
to evenbrenden/pandoc
that referenced
this issue
Jan 21, 2022
If files specified with --metadata-file are not found in the working directory, look in $DATADIR/metadata. Expose new readMetadataFile function from T.P.Class (PandocMonad) [API change]. Expose new PandocCouldNotFindMetadataFileError constructor from T.P.Error (PandocError) [API change]. Closes jgm#5876.
jgm
pushed a commit
that referenced
this issue
Jan 21, 2022
If files specified with `--metadata-file` are not found in the working directory, look in `$DATADIR/metadata`. Expose new `readMetadataFile` function from Text.Pandoc.Class [API change]. Expose new `PandocCouldNotFindMetadataFileError` constructor for `PandocError` from Text.Pandoc.Error [API change]. Closes #5876.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Since both templates and defaults can be placed in their respective
$DATA_DIR/templates/
and$DATA_DIR/defaults/
why not also metadata files in$DATA_DIR/metadata/
?The text was updated successfully, but these errors were encountered: