I’d have to search and replace all paths references in every file.Īccess to my media sub-folder is limited by nvALT’s preview feature, only. Why you should care about relative pathsĪbsolute paths will work just fine – until I change the location of the Zettelkasten note archive from “Archive” to, say, “Zettelkasten”. Thus, relative paths don’t work so well out of the box. Any relative path would be relative to this temporary folder instead of the archive. The preview is a HTML file which resides in a temporary folder far away. The thing is, nvALT doesn’t pass its working directory through to the preview. Combined, the full path to the image, taking the working directory of nvALT into account, equals /Users/ct/Archive/media/some_picture.png. So when /Users/ct/Archive/ is the working directory of nvALT and the base directory of any note in it, media/some_picture.png becomes a path component relative to this working directory. It is usually written in reference to a root directory.Ī relative path is a path relative to the working directory of the user or application, so the full absolute path will not have to be given. A full path or absolute path is a path that points to the same location on one file system regardless of the present working directory or combined paths. Systems can use either absolute or relative paths. From a note’s point of view, the path media/some_picture.png makes sense: Using relative paths, I can point to their contents. Any sub-folders, like “media” and “literature”, are invisible to nvALT itself. The path of my archive is /Users/ct/Archive/. and an archive of notes I don’t need anymore.a “literature” folder with my reference database,.a bunch of Zettel notes to view in nvALT,.My Zettelkasten note archive is one single folder on my disk which I watch with nvALT. The folders in my archive, next to Zettel notes For this purpose, I decided to stick to a simple folder structure and customize the preview template to work with it. I don’t make heavy use of the preview at all, but when I do, it’s mostly because I want to take a look at images. You can make it work with an image repository to easily include images in your Zettel notes. NvALT sports features which are not so well-known. Include Images in nvALT for a Multi-Media Zettelkasten Experience
0 Comments
Leave a Reply. |