Re: need .md reader that can print ONLY tha page being viewed
On 11/26/24 14:52, Roland Mueller wrote:
ke 20.11.2024 klo 3.12 Ryan Nowakowski (tubaman@fattuba.com
<mailto:tubaman@fattuba.com>) kirjoitti:
On Sun, Oct 27, 2024 at 02:07:25PM -0400, gene heskett wrote:
> Seems to me we should not have to print a 90 page document to get
the one
> page/paragraph of interest. What do folks use now?
Hey Gene, I'm assuming that your .md file is in markdown format. If so,
you have a few choices. There's nothing about markdown that forces
formatting by page. So for example, you could render markdown as HTML
using pandoc, then use something like xmlstarlet to select just the
parts of the HTML you want. Then, you can load that in your browser and
print.
If you really want to format markdown in pages, you can use pandoc to
render markdown as PDF, then use a PDF reader to print the pages you
want.
Hope this helps,
Ryan
Yes it will help, a lot. I had never heard of pandoc before. Thank you.
okular can also display documents in markdown format and some other
formats in addition to PDF.
That I have, again useful info. Thank you.
Cheers, Gene Heskett, CET.
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
- Louis D. Brandeis
Reply to: