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
Copy file name to clipboardExpand all lines: README.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -456,7 +456,8 @@ require('mkdnflow').setup({
456
456
text=text:lower()
457
457
text=os.date('%Y-%m-%d_')..text
458
458
return(text)
459
-
end
459
+
end,
460
+
create_on_follow_failure=true
460
461
},
461
462
new_file_template= {
462
463
use_template=false,
@@ -632,6 +633,10 @@ function(input)
632
633
end
633
634
```
634
635
636
+
* 🆕 `links.create_on_follow_failure` (boolean): Whether a link should be created if there is no link to follow under the cursor.
637
+
*`true` (default): Create a link if there's no link to follow
638
+
*`false`: Do not create a link if there's no link to follow
639
+
635
640
#### `new_file_template` (dictionary-like table)
636
641
*`new_file_template.use_template` (boolean)
637
642
*`true`: the template is filled in (if it contains placeholders) and inserted into any new buffers entered by following a link to a buffer that doesn't exist yet
0 commit comments