zk-org/zk-nvim

Links inserted with ZkNewFromTitleSelection are missing the filetype

dbatten5 opened this issue · 1 comments

If I create a new note from a selection with ZkNewFromTitleSelection, it creates a new note and replaces the selection with the link but the link is missing the filetype:

A test sentence # running the command on "sentence"
--> A test [sentence](202210191900)

This works fine for clicking through links with zk-nvim by pressing enter, but when serving up the notes with emanote (as recommended in https://github.com/mickael-menu/zk docs), the links are broken because they are missing the filetype. Is there or a setting in zk-nvim to insert the filetype in a link? Or should I be configuring something on the emanote side?

Found it, there's a config option link-drop-extension in the [format.markdown] in config.toml, just need to set this to false