I know this is Wendy’s goddamit. I have made a Markdown pager and I’m currently busy with my other stuff such as my compiler, but I will add more features to it soon. I did not put much time on it and there was not much of fanfare for this, although what fare could be? I spent 5 days making an application that is only useful for me, myself and moi. But if you are terminal gang like me, use will find use for it. It can be a very useful tool for authoring markdown documents. You don’t need to be a programmer to use it.

Enjoy.

  • siipale@sopuli.xyz
    link
    fedilink
    arrow-up
    1
    ·
    10 months ago

    A ‘pager’ is a utility that takes a markup text (say, Roff) and displays that text, formatted, in the terminal. The first pager was nroff(1) for the aforementioned Roff, and you may still find nroff(1) on UNIX-based systems.

    Wouldn’t it be less or more (or most) that is the pager part and roff being the part that does formatting for terminal. As far as I understand roff does the runoff of the text file. It formats the text properly and inserts all the necessary escape codes for terminal. Then that can be piped to pager which shows the text page by page.

    Looks like an interesting project. Didn’t try it but looked into the source code and I think there was not really any keybindings similar to less. I suggest adding at least g, G, C-f and C-b.

    But would it be possible for this project to utilize external pager? That would make the development easier.

    • Chubak@lemmy.worldOP
      link
      fedilink
      arrow-up
      1
      ·
      10 months ago

      Yeah I think you’re right about that one. The pagers are more/less, not nroff. I’m not sure how I can combine key in ncurses. Gotta look it up. Thanks again.