Skip to content
Discussion options

You must be logged in to vote

For the first part, it's hard to do in YAML frontmatter since I don't have any syntax control over "this text should not be interpreted." The alternative which I haven't yet implemented is to add a special file.fields which includes both the interpreted and raw value. I believe you can do it via inline fields by explicitly quoting it ([key:: "value"]).

For the second part, there are a few coercion functions like dv.date() and dv.fileLink which will try to convert strings / links / whatnot to dates. I can add these for durations and numbers as well.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@nkoder
Comment options

Answer selected by nkoder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants