Open randomwangran opened 1 year ago
You need a yaml frontmatter on top of the file. The first line must be “---“ (three hyphens). And close the front matter with “---“ (three hyphens).
Thanks for sharing it.
After adding this info, I still can not find it via org-roam-node-find
. Here's how I do it:
org-roam-db-autosync-mode
2023-03-05-12-33-51-emacs-chatgpt-arcana-chat-mode-introduction-and-description.chatgpt-arcana.md
Guide to Markdown Mode for Emacs
---
title: Guide to Markdown Mode for Emacs
id: 2021-11--7T185856
category: \#markdown
---
------- system:
You are a large language model living inside Emacs, and an excellent conversation partner. Respond concisely. Current Emacs major mode: chatgpt-arcana-chat-mode. Respond in well-formatted markdown, with headers, tables, lists, and so on.
------- user:
who are you?
- Turn off
org-roam-db-autosync-mode
- Switch to
2023-03-05-12-33-51-emacs-chatgpt-arcana-chat-mode-introduction-and-description.chatgpt-arcana.md
- Modify the buffer and save the change.
Kill the markdown buffer first. org-roam-db-autosync-mode adds find-file hook for the function to register the current node into the database. If the buffer is already open, no matter what you do to it won’t go into the database. Therefore, combined with md-roam, the sequence must be like this:
I have a file, generated by interaction with chatgpt-arcana.el .
The file name is:
2023-03-05-12-33-51-emacs-chatgpt-arcana-chat-mode-introduction-and-description.chatgpt-arcana.md
I would like to use
md-roam
as connector toOrg-roam
, so that I can use it to index all the conversions with ai.com.I installed
md-roam
with following setup:Then force change the font matter as:
Nothing happens, the file name is like:
2023-03-05-12-33-51-emacs-chatgpt-arcana-chat-mode-introduction-and-description.chatgpt-arcana.md
, so maybe that is the issue?Do you have any suggestions on how mark-down file should be called and store? The file is generated in this snippet:
https://github.com/CarlQLange/chatgpt-arcana.el/blob/9d35495b1dbbe9a6a9b82ab732a8b1bc33fac6e1/chatgpt-arcana.el#L95-L109