public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* RFC: printing via headless chrome
@ 2022-01-31 16:32 Albert Krewinkel
       [not found] ` <87fsp3eti7.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Albert Krewinkel @ 2022-01-31 16:32 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

I'm thinking about implementing support for printing via headless chrome
(or chromium) but am not certain whether that's a good idea.

The background is that it would be nice to quickly convert reveal.js
slides to PDF or to use paged.js by loading it as a JS library, and
without having to install the pagedjs-cli command-line program.

I talked about this a little with Romain Lesur, who was so kind to talk
about his experiences in the development of [pagedown][]. From what I
understand, the best method to communicate with a headless chromium is
via websockets. Implementing that would be a bit of work, but also
require additional Haskell libraries ("websockets" and its dependencies
"entropy" and "bytestring-builder").

[pagedown]: https://pagedown.rbind.io/

What I'm trying to gather here is if this would be worth the effort, the
extra code and the additional dependencies. Does this sound useful? Is
it something you have been missing? Are there other things that this
would be useful for?

Thanks,

-- 
Albert Krewinkel
GPG: 8eed e3e2 e8c5 6f18 81fe  e836 388d c0b2 1f63 1124


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-02-01 20:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-31 16:32 RFC: printing via headless chrome Albert Krewinkel
     [not found] ` <87fsp3eti7.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
2022-02-01 20:15   ` Philip Hodder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).