Skip to content

Add text styling to the todo widget when using Markdown - #2696

Open
ssebs wants to merge 14 commits into
gsantner:masterfrom
ssebs:master
Open

Add text styling to the todo widget when using Markdown#2696
ssebs wants to merge 14 commits into
gsantner:masterfrom
ssebs:master

Conversation

@ssebs

@ssebs ssebs commented Nov 20, 2025

Copy link
Copy Markdown

Hoping to improve the widget if people want to use a Markdown file for their todo lists.

See #2612, #2490

Build instructions:

  • Get my build from https://github.com/ssebs/markor.git master branch
  • Build / install app
  • Follow initial setup/permissions
  • Create TODO.md file & save
  • Close app
  • Open app
  • Go to Settings > General > Save location > To-Do
  • Select the new TODO.md file
  • Go back from settings to the file list, close the app.
  • Open app, notice the TODO.md file is chosen as the todo.txt file via the checkmark icon.
  • Go to the home screen, create a new widget
  • Choose the 2nd Marder widget, place on screen
  • It should show the contents of the file

I've recorded this process from an emulator:

marder-demo

Comparing Markdown files (top is old, bottom is new)

markor-widget-screenshot

Comparing todo.txt files (top is old, bottom is new)

markor-widget-screenshot-2

Vid

markor-vid.mp4

Hoping to improve the widget if people want to use a Markdown file for
their todo lists.

See gsantner#2612, gsantner#2490
Hoping to improve the widget if people want to use a Markdown file for
their todo lists.

See gsantner#2612, gsantner#2490
@ssebs
ssebs marked this pull request as ready for review November 26, 2025 07:37
@ssebs

ssebs commented Dec 24, 2025

Copy link
Copy Markdown
Author

Hey @gsantner, just wanted to check in on this PR. 😁

Comment thread app/src/main/java/net/gsantner/markor/widget/TodoWidgetRemoteViewsFactory.java Outdated
@henrebotha

Copy link
Copy Markdown

HELL yes.

Any idea if this would be easily adaptable to AsciiDoc?

@garnetbugbee

Copy link
Copy Markdown

I just wanted to say that I was thinking in December about working on this very thing and now you've gone and done it. Good God, I love the open source community.

@gsantner

Copy link
Copy Markdown
Owner

Any idea if this would be easily adaptable to AsciiDoc?

As with anything, it needs implementation by somebody. Unfortunatley widgets gain very little interest by contributors. So help is welcome.

@gsantner

gsantner commented Jan 31, 2026

Copy link
Copy Markdown
Owner

Hello!

How do you get this to work?

First I tried changing the existing todo.txt file to markdown format using File Settings (top menu). Didn't have any effect. Then created a todo.md file and set it as ToDo file in settings. Also has no effect.

I recreated the widget a few times. Not sure, but haven't got any markdown rendering.

Also noticed the black border around the widget..is that new in this PR? Haven't noticed it before and not sure if it is good 😄

img

@ssebs

ssebs commented Jan 31, 2026

Copy link
Copy Markdown
Author

Hi, I had to do this:

  • create a test.md file in Marder
  • set that as the todo file in the settings
  • save (go back to the main screen in marder)
  • close the app
  • delete any widgets if they existed
  • open marder (confirm the setting is set)
  • create the widget
  • tap to open the file

As for the border, I may not have noticed because I'm using dark mode.

@gsantner

gsantner commented Feb 5, 2026

Copy link
Copy Markdown
Owner

I set a .md file for ToDo which is also configured as Format->Markdown, recreated the widget a few times, rebooted device..and it never showed the new markdown formatting of this PR somehow

@ssebs

ssebs commented Feb 5, 2026

Copy link
Copy Markdown
Author

That's weird... I'm not super familiar with Android development so I'm not really sure how to debug. Can anyone else see the changes on this PR?

@gsantner
gsantner force-pushed the master branch 3 times, most recently from d3c16f5 to c3bd617 Compare March 6, 2026 18:41
@gsantner

gsantner commented Mar 6, 2026

Copy link
Copy Markdown
Owner

Not seems like somebody else wanted to try as well. For me at least it doesn't work / doesn't apply somehow

@henrebotha

Copy link
Copy Markdown

I have no idea how to test this. Maybe some instructions would help?

@gsantner

Copy link
Copy Markdown
Owner

Hello @ssebs could you please help to show how to set this up?
As mentioned above, for me creating the widget for a todo.txt file, with these changed included doesn't work

@ssebs

ssebs commented May 20, 2026

Copy link
Copy Markdown
Author

@gsanter - Thanks for the ping.

Just tested this out again, here's what I did to get it working:

  • Get my build from https://github.com/ssebs/markor.git master branch
  • Build / install app
  • Follow initial setup/permissions
  • Create TODO.md file & save
  • Close app
  • Open app
  • Go to Settings > General > Save location > To-Do
  • Select the new TODO.md file
  • Go back from settings to the file list, close the app.
  • Open app, notice the TODO.md file is chosen as the todo.txt file via the checkmark icon.
  • Go to the home screen, create a new widget
  • Choose the 2nd Marder widget, place on screen
  • It should show the contents of the file

I've recorded this process:

marder-demo

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

Successfully merging this pull request may close these issues.

4 participants