gnebbia / kb

A minimalist command line knowledge base manager
GNU General Public License v3.0
3.17k stars 104 forks source link

Render Markdown articles #111

Closed lewis262626 closed 8 months ago

lewis262626 commented 1 year ago

Expected Behavior

I write most of my articles using GitHub flavoured Markdown. At the moment, I just pipe the output of kb in to a CLI Markdown viewer such as glow, but it'd be great if this was built-in to kb.

Actual Behavior

Markdown isn't rendered

Steps to Reproduce the Problem

  1. View article in Markdown
  2. No rendered markdown

Specifications

Andonome commented 1 year ago

This would be great.

There are other options, so perhaps it could detect which Markdown readers are available, and then use one. I usually use mdcat.

gnebbia commented 8 months ago

I would say that the more deps we add the more time it will drain from my side (since I am the only one working at the project at the moment). One suggestion here would just be to create a shell function or alias that pipes things to the tool you want as you are doing.