Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: People property type #10

Open
mitchmalone opened this issue Jul 29, 2023 · 2 comments
Open

Feature request: People property type #10

mitchmalone opened this issue Jul 29, 2023 · 2 comments

Comments

@mitchmalone
Copy link

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(", ");
@JohannesRudolph
Copy link
Member

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?

@yasintze
Copy link
Contributor

yasintze commented Jan 4, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants