docite package
Subpackages
Submodules
docite.cli module
References
- docite.cli.main(args: List[str]) None[source]
Wrapper allowing
convert_with_refs()to be called with string arguments in a CLI fashion.- Parameters:
args (List[str]) – command line parameters as list of strings (for example
["--inputfile", "input.md"]).
- docite.cli.parse_args(args: List[str]) Namespace[source]
Parse command line parameters
- Parameters:
args (List[str]) – command line parameters as list of strings (for example
["--help"]).- Returns:
command line parameters namespace
- Return type:
docite.convert module
- docite.convert.convert_with_refs(inputfile: str | Path, outputfile: str | Path, bibfile: str | Path, stylefile: str | Path | None = None) None[source]
Convert a markdown file to a PDF with references
- docite.convert.remove_citation_metadata(inputfile: str | Path, outputfile: str | Path | None = None) None[source]
Remove citation metadata from a markdown file