gsantner / gsantner/markor

org mode navigation behaviour to be more consistent with markdown mode

Open
#2,590 2 comments 1 reaction 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 **enhancement/feature request**. Not a [bug or question](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)_.
- [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 wanted feature/enhancement is not 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's settings are not touched. If your desired feature is present, you don't need to open this issue. The change will be part of the next Markor update.)

### Description

In markdown mode, you can

- single tap on the top bar
- get a TOC of all the headers in a popup
- pick one and tap it
- then click the "edit" icon (next to search icon)
- and you get dropped into the editor *at that header*

This is very useful when editing long documents. The view mode is easier on the eyes so you can navigate in that, then drop down to the editor direct to the section you wanted to edit.

This does not happen in org mode. The very first step (single tap on top bar) fails to bring up a TOC.

I hesitated to call this a bug, because I really don't know if the internals support it. For all I know, since org mode was added later, it may have a totally different engine and this behaviour needs to be added to that. Or some other nuance I am not aware of.

Thank you

### Information

Android version: 15
Device: Samsung F15
App Version: 2.14.1 from f-droid (latest at the moment)

### Source

F-Droid

### Format / File type

Something else (-> Additional info)

### Additional info / Log

```shell
-this is about org mode files
```

Contributor guide

No contributing guide indexed for this repository

Research direction

No source files, tests, or entry points are named in the issue. Start by locating the Markdown top-bar table-of-contents navigation and comparing it with Org mode's view and editor navigation. Done means a single tap in Org mode opens a heading list and selecting a heading followed by edit opens that section.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.