Its seems like a lot of time we are spending on writing notes. When we studied in the school, learning new skills, or even just randomly taking notes with new ideas when walking on the street. However, when we grow up or even just one year later, all of the notes are just disappear because we no longer remember what we are right now. Therefore, it is a good way to record what we learnt with a good system. Obsidian, is really a free software to record the note and link the notes together.
Obsidian
-
Attachment issue
- Solved by the function with obsidian-consistent-attachments-and-links
- Automatically fixed the problem from the attachments and links
- Need to disable the wiki links in the setting. Instead, using markdown links. This can avoid the backlink issue (On the other hand, we still can use backlink function, I cannot really understand the difference between markdown links and the backlink function…)
- Solved by the function with obsidian-consistent-attachments-and-links
-
It’s a trick to sync the post file that in the vault in Obsidian
- Symlink for the obsidian and the hexo folder
- mklink /J C:[LinkToFolder(Obsidian)] C:\Users\Name[LinkToFolder(Hexo)]
- I guess both method works, but this one I found works for me
Sync the content (for the local copy)
- I’ll just focus on the local document, no need to make things become complex.
Issue
- Smoothly add the image based on Obsidian default setting: in the image in the attachments folder
- Solution
- Semi-auto function to solve the problem
- This method needs the plugin consistent attachment and links
- Copy the file that would like to publish to the temporary folder, so the system will monitor the link and change to the folder’s name
- Copy the folder and the file to the publish hard-link folder.
- This can avoid the messy assets (or just images) spread everywhere.
Cheat sheet for the Hexo blog
Rules for the publication via hexo blog (or more like the template)
1 | headers |
Fast deploy method for the hexo
https://blog.esunr.xyz/2022/06/64163235c30f.html#npm-安装
Integrate hexo and Obsidian