markor icon indicating copy to clipboard operation
markor copied to clipboard

Support for calendar.txt format

Open ploum opened this issue 4 months ago • 3 comments

⚠️ This issue respects the following points: ⚠️

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

I wondered if Markor could support the calendar.txt formar which is philosophically well aligned with todo.txt

https://terokarvinen.com/2021/calendar-txt/

The principle would be really simple : when opening a file named "calendar.txt", Markor would automatically jump to the line starting with today’s date.

Fancy stuff like coloring date/hours might be added later but, IMHO, are absolutely not needed. The only requirement to use a calendar.txt file is to jump to current date by default.

I describe here how and why I use it : https://ploum.net/2025-09-03-calendar-txt.html

Information

Android version: Device: App Version:

Source

F-Droid

Format / File type

Not specific

Additional info / Log

-

ploum avatar Sep 04 '25 09:09 ploum

Hello,

Yes, addition of new formats is welcome.

gsantner avatar Sep 04 '25 11:09 gsantner

I’m looking at the code but don’t find any existing format which move the cursor on launch.

Any advice on how you would do it?

ploum avatar Sep 04 '25 12:09 ploum

There are methods by Markor to set cursor position. Also TextView/EditText have methods to do that. If you search the code by cursor, I'm very sure you will be able to find something suitable.

Image

gsantner avatar Sep 18 '25 20:09 gsantner