Files with `§` in title not recognized
danymat opened this issue · 5 comments
I'm currently using the §
character to add structure to my ZK (§§
, §1
, etc).
I think this character is not recognized by neuron
Steps to reproduce
- Create a file test.md
- Create a second file
§2\ test.md
- Link the second file in the first file
- Only the first file will be recognized
For example I have a file called: 202102241246 §1 Zettelkasten.md
In its content I have:
## Objectif
- [[202102081550 L'objectif d'un slip-box]]
which is linking the file 202102081550 L'objectif d'un slip-box.md
The problem is that even neuron query doesn't return any file with a §
on it.
Okay. That character is not allowed in the whitelist:
neuron/src/Neuron/Zettelkasten/ID.hs
Lines 81 to 99 in 833ab69
I'm trying to recall the rationale for that. Filesystem filepath and URI limitations are the main reason I think.
Nice, I was wondering where you defined the parsing whitelist.
I propose to add this special character to the whitelist (except if there is a way to add personal whitelist in the config file)
Sounds good to me, feel free to open a PR (the CI will catch any errors).