python-frontmatter
python-frontmatter copied to clipboard
Parse and manage posts with YAML (or other) frontmatter
On building my packages I'm using `sphinx-build` command with `-n` switch which shows warmings about missing references. These are not critical issues. Here is the output with warnings: ```console +...
Instead of just having a warning in the comments https://github.com/eyeseast/python-frontmatter/blob/3910ac705cabdd6e2cd5844ffed60798f09a0f6b/frontmatter/default_handlers.py#L15-L16 Maybe print a warning to the console instead when TOML is not available?
It looks like the frontmatter is alphabetically sorted when it is written back out. It would be great if it could preserve the order of existing items, while adding new...
I did this: ```py from pathlib import Path import frontmatter markdown_file = Path("build") / "foo.md" loaded = frontmatter.load(markdown_file) ``` What I got ``` Argument of type "Path" cannot be assigned...
This includes #122 plus tests. Putting it here to decide how to handle the serialization problem.
Fixes #96
Get with the times.