notion-markdown-cms icon indicating copy to clipboard operation
notion-markdown-cms copied to clipboard

Feature request: People property type

Open mitchmalone opened this issue 2 years ago • 2 comments

Hey Meshcloud! It would be amazing if you could return the people property type. If it just returned as an array joined as a string I think this would be incredibly useful for most purposes using Markdown.

Something like this?

return value.people.map((person) => person.name).join(", ");

mitchmalone avatar Jul 29 '23 13:07 mitchmalone

Should be doable I think, we currently don't support this according to https://github.com/meshcloud/notion-markdown-cms#supported-page-property-types

Question: do you mean block type or page property type? Because page properties are YAML frontmatter in markdown, so we should probably just render them as a simple array I guess instead of coming up with a markdown string?

JohannesRudolph avatar Aug 01 '23 15:08 JohannesRudolph

Hi @JohannesRudolph, please have a look at PR #14 and let me know what you think

yasintze avatar Jan 04 '24 14:01 yasintze