From f037dd05c759add6719616c3c8f800536c236bd4 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Wed, 7 Feb 2024 08:42:09 -0600 Subject: [PATCH] fix(future): Call out different infostring attribute syntax --- text/3503-frontmatter.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/text/3503-frontmatter.md b/text/3503-frontmatter.md index c804de06b..fc15b17bd 100644 --- a/text/3503-frontmatter.md +++ b/text/3503-frontmatter.md @@ -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