mkdnflow: adapt follow link behavior
- Sets the `perspective.priority` to `current` to get the follow link feature behaves as I need, relative to the current buffer. - Fixes the new file template to avoid a blank column at the begining (results in an invalid YAML syntax). Co-Authored-by: iGor milhit <igor.milhit@unige.ch>
parent
8f5d37f313
commit
8543c689b0
|
@ -22,18 +22,22 @@ return {
|
||||||
markdown = true,
|
markdown = true,
|
||||||
pandoc = true
|
pandoc = true
|
||||||
},
|
},
|
||||||
|
perspective = {
|
||||||
|
-- Ensure that paths are relative to the current file
|
||||||
|
priority = "current"
|
||||||
|
},
|
||||||
links = {
|
links = {
|
||||||
conceal = true,
|
conceal = true,
|
||||||
},
|
},
|
||||||
new_file_template = {
|
new_file_template = {
|
||||||
use_template = true,
|
use_template = true,
|
||||||
template = [[
|
template = [[
|
||||||
---
|
---
|
||||||
title:
|
title:
|
||||||
date: {{ date }}
|
date: {{ date }}
|
||||||
id: {{ id }}
|
id: {{ id }}
|
||||||
tags: []
|
tags: []
|
||||||
---
|
---
|
||||||
]],
|
]],
|
||||||
placeholders = {
|
placeholders = {
|
||||||
before = {
|
before = {
|
||||||
|
|
|
@ -8,3 +8,4 @@ InfoBiblio
|
||||||
Réaménagement
|
Réaménagement
|
||||||
biodiversité
|
biodiversité
|
||||||
hyperindustrialisés
|
hyperindustrialisés
|
||||||
|
lacto-fermentation
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue