Closed emoriarty closed 2 years ago
Tested the patch locally and it works, however, gives compilation error. A small change on line 199 will fix the compilation error as well. Change
paragraph: { text: cell },
toparagraph: { rich_text: cell },
That's funny. I did run the build
script and did not see any compilation error. Perhaps, did you mean a runtime error?
Anyway, I'm pushing the change. Let me know if it works OK.
I did run the
build
script and did not see any compilation error.
Yes, the build script didn't give any errors but compiling only notion-to-md.ts
using tsc
command throws an error. Nvm, it's fixed now.
Thanks for reporting and contributing, I'll create a new release shortly.
Fix for issue #23.
In order to keep support to prior versions of @notionhq/client@1.0.0,
rich_text
is added in the logical OR expression.I've tested it in a personal project and it works OK.
Converts to: