gsantner / gsantner/markor

[[wikilinks]] not wrapping / detecting files before them in the file tree

Open
#2,838 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
6.1k
Forks
537
Avg merge
1d 18h
Merged PRs (30d)
4

Description

### ⚠️ This issue respects the following points: ⚠️

- [x] This is a **bug**. Not a [question or feature request](https://github.com/gsantner/markor/issues/new/choose).
- [x] The topic is **not** already reported at [Issues](https://github.com/gsantner/markor/issues?q=#js-issues-search). _(I've searched it and checked most recent issues)_.
- [x] Markor **is** up to date. See [Releases](https://github.com/gsantner/markor/tags) for the latest version. Updates are available from [F-Droid](https://f-droid.org/en/packages/net.gsantner.markor/) and GitHub.
- [x] The bug is still present in the latest development version (git master). (Please [download](https://nightly.link/gsantner/markor/workflows/build-android-project/master) and try the test version of Markor, named **Marder**. Don't worry; Markor and Marder appear as completely separate applications. You can install both side-by-side, and Markor settings are not touched. In case the issue is resolved there, you don't need to create a bug report. The change will be part of the next Markor update.)

### Description

[[wikilinks]] do not wrap / do not detect documents before them in a file tree. This pretty much prevents the creation of more cross folder strung wiki structures. I not too performance heavy fix would be an optional setting to make [[wikilinks]] detect all files inside the notebook folder.

### Steps to reproduce

1. Have a main folder, with another "testfolder" and a document named f.e. "testfile" (write something into this one, so you recognize it from "inside".
2. Go into the testfolder. Make a new document inside — f.e. test2. Now inside test2 make a wikilink [[testfile]]
3. Clicking it will create a new document inside testfolder, instead of opening the testfile document.

### Information

Android version: 13
Device (phone model): moto g32
App Version: Markor: v2.16.1 (163)
Marder: v2.16.1-1606 (260525)

### Source

F-Droid

### Format / File type

Not specific

### Additional info / Log

```shell

```

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue in Markor by following the listed testfolder, testfile, test2, and [[testfile]] steps, then trace wikilink handling and file-tree lookup. Done means an existing document before the link opens instead of creating a duplicate in the current folder, with the broader lookup available as an optional setting.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.