Threads for muesli

    1. 2

      Awesome 👏 How it’s different from tview?

      1. 1

        The biggest thing is that bubbletea works inline as well as full-window, whereas tview/tcell is strictly full-window only. This is why we originally ruled tcell (and others) out and pretty much felt we had to write something new.

        The other thing is that writing to the screen with tcell requires using the tcell API, whereas with bubbletea you’re just returning strings, so it’s more flexible in terms of what you can display.

    2. 0

      Why can’t we have a simple markdown renderer in a terminal with just regular bold, italic, etc? Someone, do it dammit! Do it in Rust! :)

      1. 3

        You can. Glow lets you define your own styles: https://github.com/charmbracelet/glamour/tree/master/styles

        The notty and simple styles probably are a bit too raw for your taste, but it’d be easy to strip the colors from the default dark & light styles.

      2. 2

        For a markdown renderer for the terminal in Rust there is termimad. Not sure if it’s simple enough for you though!

        1. 1

          Cool, thanks! This lead me to https://github.com/Canop/clima which uses termimad.

      3. 2

        bat does some minimal syntax highlighting from Markdown, and it tends to be good enough for my own uses:

        https://github.com/sharkdp/bat