Regular markdown links not working with non-latin chars

Open
#590 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
haskell
Domain
web-dev

Research direction

Start at the neuron rib entry point and reproduce the issue with тест.md and a link to it from another zettel. Trace the markdown-link transformation during static-site generation, then verify that the generated HTML contains a working link to тест.md or emits a warning when it cannot handle the path.

Written by the indexing model from the issue text.

Description

bug

Some zettels in my zettelkasten have ids in Russian, however it seems like whatever is used to transform markdown links only handles paths with latin characters and leaves everything else as-is. It would be nice if non-latin charachters were allowed or a warning was printed if that is impossible.

Neuron version: 1.0.1.0
Steps to reproduce:

  1. Create a file named тест.md
  2. Link to it from another zettel like so [test](./тест.md)
  3. Generate the static site with neuron rib

Expected behavior: the generated HTML for the zettlel has a link to тест.md
Actual behavior: the link is left as if it was plaintext

Dominant language
Haskell
Stars
1.6k
Forks
145
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from srid/neuron

All issues in srid/neuron

Similar issues

More Haskell issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.