Closed nekowasabi closed 4 months ago
Not able to reproduce, works as expected on my side?
(Changed the - to ---), needed no reload or whatever
Mind providing details?
If you mean not being able to edit the markdown page, that is normal (for now), only editing the raw json is fully supported. Working on the markdown part, but not for soon at all.
Sorry, I was mistaken in thinking that markdown could be edited. I look forward to the markdown editing feature. Thanks for your response! 👍
Just to be sure I am reporting this, I was able to save the Notion page by editing the JSON directly and saving it. However, an error occurs in the save process callback. This may be the same error you fixed before.
013ce6ea-20b9-4743-a4e7-cdf91500e47a
vim.schedule lua error occured by callback: ...ets/.config/nvim/plugged/notion.nvim/lua/notion/init.lua:22: bad argument #1 to 'write' (string ex
pected, got nil)
stack traceback:
[C]: in function 'write'
...ets/.config/nvim/plugged/notion.nvim/lua/notion/init.lua:22: in function 'writeFile'
...ts/.config/nvim/plugged/notion.nvim/lua/notion/parse.lua:34: in function 'updateMarkdown'
...ts/.config/nvim/plugged/notion.nvim/lua/notion/parse.lua:52: in function <...ts/.config/nvim/plugged/notion.nvim/lua/notion/parse.lua:52>
Aware of it, updateMarkdown code commented out in commit b769c76, not a fix but no time to dig into it today. PackerSync should remove the error, and #16 is a note for myself to fix that
Describe the bug Markdown preview is not working. Preview windows is showing json data. And cannot update notion page.
To Reproduce Steps to reproduce the behavior:
Expected behavior
Screenshots
Desktop (please complete the following information):