Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
The error occurs when the markdown file contains a code blog with an org syntax such as this below: ```org #+title: Org title ``` Before this change, md-roam used function `org-roam-db-insert-file' to insert a new markdown file. This function tries to get the title of the file with function `org-roam-db--file-title' and it calls `org-collect-keywords'. Somewhere down this chain, the error gets raised because the buffer is not a org buffer (and rest of the buffer is written in the markdown syntax).
- Loading branch information