python-frontmatter
python-frontmatter copied to clipboard
Parse and manage posts with YAML (or other) frontmatter
Looks like this is the new standard: https://pypi.org/project/tomli/ Need to check if this has the same API as the original [toml](https://pypi.org/project/toml/). It might be worth creating an additional TOML handler...
Looks like latest sphinx shows some warnings on generate documentation ```console + /usr/bin/sphinx-build -n -T -b man docs build/sphinx/man Running Sphinx v4.5.0 making output directory... done WARNING: html_static_path entry '_static'...
Hi. It's nice to see a frontmatter library written in python. Thanks for writing it! How do you feel about supporting a way to load & parse multiple posts in...
Nested keys. Unicode and other weirdness. Let's break this thing.
If I have a file with `content` as a key in the frontmatter, frontmatter dies a horrible death. Example markdown file (`test.md`): ```markdown --- content: bad key --- Ooops! ```...
Thanks for this useful package! I'm using it to homogenize YAML frontmatter through thousands of Markdown files but I can't figure out how to keep the source file indentation (to...
Hi, first of all, thanks for making this nice library! I just saw #110 and the new release which is nice, but `mypy` on my project still complains about missing...
At the moment frontmatter will change the quotes around string values in a YAML frontmatter to single quotes even if the string value itself did not change at all. It...
Hi, here an issue I tripped over (or minor problem of faithful round-tripping). I wanted to read a post, manipulate the frontmatter and write it back out. Afterwards, I programmatically...
Posix [mandates a newline](https://stackoverflow.com/a/729795/1749551) at the end of a file. Presently, when frontmatter generates a string using `format()`, it doesn't include a newline at the end. Since `dump()` calls `format()`...