You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While I understand that Telekasten has its own filetype and its various abilities stem from being distinct from markdown, it still uses the markdown file extension. However, there are multiple markdown extension files, and if I want to use more than one extension, I either need another vault or have to modify my configuration each time. In the configuration file, when I set the extension type, I can only select one at a time.
require('telekasten').setup {
home=vim.fn.expand'~/zettelkasten', -- Put the name of your notes directory here-- Launch panel if nothing is typed after <leader>zvim.keymap.set('n', '<leader>zz', '<cmd>Telekasten panel<CR>'),
-- Call insert link automatically when we start typing a linkvim.keymap.set('i', '[[', '<cmd>Telekasten insert_link<CR>'),
extension='.md',
-- extension = '.qmd',-- extension = '.rmd',-- extension = {'.rmd', '.md', '.qmd'},
}
Instead of expecting a string, please allow the addition of a table.
This way we can use more than one extension for the Telekasten filetype, like this.
extension= {'.rmd', '.md', '.qmd'},
Thanks in advance.
The text was updated successfully, but these errors were encountered:
This should not be too complicated too add indeed. Although it is rather low priority for now as most contributors have little time.
If you are interested, you can propose a PR and I will review it as quickly as I can.
Please confirm
While I understand that Telekasten has its own filetype and its various abilities stem from being distinct from markdown, it still uses the markdown file extension. However, there are multiple markdown extension files, and if I want to use more than one extension, I either need another vault or have to modify my configuration each time. In the configuration file, when I set the extension type, I can only select one at a time.
Instead of expecting a string, please allow the addition of a table.
This way we can use more than one extension for the Telekasten filetype, like this.
Thanks in advance.
The text was updated successfully, but these errors were encountered: