On Tue, 2018-09-25 at 13:32 +0200, Jon Ingason wrote:
Den 2018-09-25 kl. 12:45, skrev Patrick O'Callaghan:
> On Tue, 2018-09-25 at 08:47 +1000, Cameron Simpson wrote:
> > On 24Sep2018 12:32, Patrick O'Callaghan <pocallaghan(a)gmail.com>
wrote:
> > > I'm looking for a simple terminal-based viewer for Markdown files. I
> > > *don't* want an editor. Think 'less', not 'emacs'. I
don't mind if it
> > > wants to pop up a window to show rich text, but it's not critical.
> > >
> > > It seems remarkably* difficult to find such a beast.
> >
> > I've been using mdv. For example, to check my Python module docstrings
(which I
> > do in Markdown) before release:
> >
> > distinfo cs.lex long_description|mdv -
> >
> > "distinfo" is an alias associated with my release scripts, but the
important
> > thing here is that it empts the Markdown to stdout into "mkv".
>
> ^^^mdv
> >
> > Views nicely in a terminal.
>
> Not seeing mdv in the standard repos.
>
> poc
> _______________________________________________
If you google "mdv file viewer linux" you get interesting results. With
pip you can install difference Markup viewer.
To install "mdv" do following:
$ sudo pip mdv
That is if you have python-pip installed.
Thanks, I'll consider it. I much prefer to use dnf for installing
software as I can track updates more easily, but I have very
occasionally used pip (and git) when all else fails.
poc