First, I disabled all installed extensions and then enabled them one by one. Ultimately, I discovered that the 'Markdown PDF' extension was causing the issue. I disabled it, and everything is working well now. BTW, I am using macOS.