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
i like to create a note and obsidian didnt transform the title. Like [[my new note]] will become "my new note.md"
I tried to tweak the functions in config but dont have the intelligence to make work without errors
Alternatives
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
-- Optional, customize how note file names are generated given the ID, target directory, and title.---@paramspec{ id: string, dir: obsidian.Path, title: string|? }---@returnstring|obsidian.Path The full path to the new note.note_path_func=function(spec)
-- This is equivalent to the default behavior.localpath=spec.dir/tostring(spec.id)
returnpath:with_suffix(".md")
end,
To achieve what you want, add this in the configs:
-- Optional, customize how note file names are generated given the ID, target directory, and title.---@paramspec{ id: string, dir: obsidian.Path, title: string|? }---@returnstring|obsidian.Path The full path to the new note.note_path_func=function(spec)
localpath=spec.dir/tostring(spec.title)
returnpath:with_suffix(".md")
end,
🚀 The feature, motivation and pitch
i like to create a note and obsidian didnt transform the title. Like [[my new note]] will become "my new note.md"
I tried to tweak the functions in config but dont have the intelligence to make work without errors
Alternatives
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: