Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add option to display first line of text in md files in the File Description Format of the file browser #2441

Open
4 tasks done
ehula opened this issue Oct 13, 2024 · 3 comments

Comments

@ehula
Copy link

ehula commented Oct 13, 2024

⚠️ This issue respects the following points: ⚠️

  • This is a enhancement/feature request. Not a bug or question.
  • The topic is not already reported at Issues. (I've searched it).
  • Markor is up to date. See Releases for the latest version. Updates are available from F-Droid and GitHub.
  • The wanted feature/enhancement is not present in the latest development version (git master). (Please download 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

  1. Add "firstline" option to Settings/Other/File Description Format that will display the first line of text from the file in the description line under the filename in the file browser.
  2. Add support for a new line character "\n" to allow for multi-line descriptions.

A "File description format" in Settings/Other like this:

firstline \n FS yyyy MMM dd:hh:ss aa

would display a description like this under the file in the file browser:

First line of text in the .md file
30KB 2020 Mar 20 11:24:52 PM

Information

Android version: 14
Device: Google Pixel 6 Pro
App Version: v2.12.5 (154)

Source

GitHub Releases

Format / File type

Markdown

Additional info / Log

-
@gsantner
Copy link
Owner

gsantner commented Oct 13, 2024

Similar topics were asked a few times, most recently a few days ago: #2309

See my reasoning (=won't fix).

@ehula
Copy link
Author

ehula commented Oct 13, 2024

If someone were to contribute code, would you merge it? Are you opposed to the feature (which would be an option, not the default), or doing the actual coding?

I saw your reasoning, but you mentioned files other than markdown files, and guessing the title. Those things don't apply. Your reasoning seemed more philosophical.

This app would be an incredible compliment to nb with this added feature.

Maybe if enough people supported the feature, someone might contribute the code.

@gsantner
Copy link
Owner

gsantner commented Oct 15, 2024

Must not make it worse & not enabled by default, and not require much maintenance effort. If it means yet another point of failure that requires constant attention, it's bad. Proper working file management on Android is hard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants