fix(future): Call out different infostring attribute syntax

This commit is contained in:
Ed Page 2024-02-07 08:42:09 -06:00
parent 2e68244547
commit f037dd05c7
1 changed files with 2 additions and 1 deletions

View File

@ -625,7 +625,8 @@ pprint([(k, v["title"]) for k, v in data.items()][:10])
- Support infostring attributes
- We need to better understand use cases for how this should be extended, particularly what the syntax should be (see infostring language)
- A safe starting point could be to say that a space or comma separates attributes and everything after it is defined as part of the "language"
- Some tools use use comma separated attributes, some use more elaborate syntax wrapped in `{}`
- A safe starting point could be to say that a space or comma separates the identifier from the attributes and everything after it is defined as part of the "language"
- Add support for a `#[frontmatter(info = "", content = "")]` attribute that this syntax maps to.
- Since nothing will read this, whether we do it now or in the future will have no affect