dhth / omm

"on-my-mind": A keyboard-driven task manager for the command line
https://tools.dhruvs.space/omm
MIT License
254 stars 3 forks source link

feat: markdown rendering via glamour #13

Closed dhth closed 4 months ago

dhth commented 4 months ago

Add markdown rendering for task context/details using glamour.

Fulfils https://github.com/dhth/omm/issues/11.

Potential follow ups

curz46 commented 4 months ago

wow, what a turn around! I just tried it, and it looks great.

As a data point, I noticed the markdown syntax for completed checklists ([x]) is rendered literally, whereas glow will render this as [✓] by default. I suppose this is a theme thing?

many thanks for your efforts on this great tool!

dhth commented 4 months ago

Hmm, it does render with the checklist on my computer. This is on Alacritty:
image

And, this is on mac's native terminal. image

Could you let me know more about your terminal emulator?

curz46 commented 4 months ago

ah, human error! I had forgotten about the hyphen required for Markdown checkboxes. Too much XIT!

changes work great (also on alacritty), thanks

dhth commented 4 months ago

Awesome! 👌