yarle icon indicating copy to clipboard operation
yarle copied to clipboard

Idea: Allow config for variable title character replace for illegal windows filename characters

Open jmtornetta opened this issue 2 years ago • 3 comments

06/02/2022 Update

Looks like illegal filename characters are being replaced but they are mostly being changed to '-' which erodes meaning.

I would suggest allow the user to map character replacements in the .json config. Some examples of what I might change these to:

: => ;
" => `
> => -gt
< => -lt

jmtornetta avatar May 31 '22 01:05 jmtornetta

Yihaa, thank you for reporting me this issue and to let me improve Yarle!

github-actions[bot] avatar May 31 '22 01:05 github-actions[bot]

Hi @jmtornetta , Thank you for this idea, it makes sense, but we have to take into count that we can pick only those characters which are allowed by the OS within a filename.

akosbalasko avatar Jun 06 '22 15:06 akosbalasko

Good point.

On Mon, Jun 6, 2022 at 11:52 AM Akos Balasko @.***> wrote:

Hi @jmtornetta https://github.com/jmtornetta , Thank you for this idea, it makes sense, but we have to take into count that we can pick only those characters which are allowed by the OS within a filename.

— Reply to this email directly, view it on GitHub https://github.com/akosbalasko/yarle/issues/389#issuecomment-1147605074, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKIYR2UKXJLAPQ7JL2U5WOLVNYNE5ANCNFSM5XL7BWVA . You are receiving this because you were mentioned.Message ID: @.***>

jmtornetta avatar Jun 06 '22 16:06 jmtornetta

Yep this is essential I think. YARLE is replacing my (>) characters with (_) and there's no way to turn it off. A character substitution map would be very helpful. Also some way of pointing out which characters are not allowed by Obsidian.md because they affect links.

webventurer avatar Aug 24 '23 22:08 webventurer