glow icon indicating copy to clipboard operation
glow copied to clipboard

feature: add more sections with custom md source paths

Open rfc2119 opened this issue 2 years ago • 3 comments

I would like to customize Glow in my application. My customizations revolves around having a lot of markdown files inside my application. Basically, I need to organize it, so here are my suggestions:

  1. more sections! stash and news are not enough. I need to create my own sections and populate them
  2. custom search paths for each section, so that sections will not look for all md files inside current directory, but instead look inside specific directories
  3. extra: specifying the URL for the news section

rfc2119 avatar Feb 08 '22 19:02 rfc2119

I was thinking something similar. I like to use glow to quickly browse, scan and partly read my notes and project documents. So having it open in one shell would be nice, if I could define my own sections.

What about having a dashboard mode which takes in a config like ` sections:

  • name: Notes path: /Home/username/some/path status: Info to be shown in Statusbar glob: "**/*Imprtant.md" watch: false local: true
  • name: Thesis path: /Home/username/thesis watch: true local: true
  • name: ProjectReadme path: "https://github.com/deicon/any/README.md" watch: false local: false`

This would load sections containing all files in the defined folders using a file glob pattern for each section. Maybe also even watch the folder for changes.

deicon avatar Nov 12 '22 13:11 deicon

+1 for this idea

kjhughes097 avatar Apr 29 '23 11:04 kjhughes097

Love this idea! Was just coming in post the same thing. I love charm-based CLI tools and I want to use glow as a personal notebook to keep track of certain processes and information. Having the ability to add sections would be spectacular!!

amanger-qual avatar May 02 '24 03:05 amanger-qual