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

Reply via email to