Utilities
Misc functions.
- markdowntolatex.utilities.get_file(name, *prefix, **kwargs)
Fetch a file name the from package_data folder (only).
- Parameters:
name (str) – The file’s name.
- Raises:
ModuleNotFoundError – If the package metadata do not mention the package name.
FileNotFoundError – If the folder package_data do not exist.
- Returns:
The desired file, as a string or a byte array
- Return type:
str or byte array