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

Feature request: Formula property type

Open mitchmalone opened this issue 2 years ago • 2 comments

Hey Meshcloud! It would be amazing if you could return the formula property type. I think since Markdown supports primarily strings anyway it should be straight forward to return it as a String type?

mitchmalone avatar Jul 29 '23 13:07 mitchmalone

Something like this?

return value.formula.string;

mitchmalone avatar Jul 29 '23 13:07 mitchmalone

Notion uses Katex as formula lanaguage. For page properties we can probably just export the string, for blocks we should probably render a codeblock with "```katex"

JohannesRudolph avatar Aug 01 '23 15:08 JohannesRudolph