Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export to pdf #148

Open
Irubataru opened this issue Sep 30, 2022 · 2 comments
Open

Export to pdf #148

Irubataru opened this issue Sep 30, 2022 · 2 comments
Labels
enhancement New feature or request
Milestone

Comments

@Irubataru
Copy link

I just held a presentation with lookatme and it was great. I really like the tool, and I think the result is fantastic. The problem is that after I finished the participants obviously want the presentation. I can send them the markdown file, but it just isn't the same thing, especially if the audience isn't that tech savvy.

So I was wondering if there is a way to export it to a pdf presentation? I understand this is hard as it depends on your terminal settings, fonts (I use nerd font symbols in the presentation to spice it up a bit), colours to an extent, etc, so I am not sure it would even make sense to have it inside lookatme, but maybe be an external tool.

What I did now was do screenshots of my terminal, one slide at a time, convert them to pdf and concat them to the final presentation. This feels automatable, but I am not sure I have the right idea, so I am asking here if anyone else can think of something smart.

@Irubataru Irubataru added the enhancement New feature or request label Sep 30, 2022
@d0c-s4vage
Copy link
Owner

You know, there should be a way that you can do this. A few things that I've been thinking about:

  • Use pandoc to go from markdown to pdf. You may have to figure out how to get page breaks correct though...

I've actually been wanting to be able to export from a lookatme presentation to html, including automatically doing asciinema recordings of any embedded terminals, etc. If I did this, it would be trivial to go from the generated html to pdf.

@d0c-s4vage d0c-s4vage moved this to 🆕 New in lookatme v3.0 Oct 1, 2022
@d0c-s4vage d0c-s4vage added this to the v3.1 milestone Oct 1, 2022
@Irubataru
Copy link
Author

Irubataru commented Oct 1, 2022

That is really cool!

I don't know anything about pandoc, but is it possible to keep the font and fontsize? One thing that is a bit unfortunate about asciinema recordings (and some other terminal recording software) is that it doesn't have a nerdfont (or ideally my specific font), so things look bad when you have a lot of those symbols in your prompts, editor, tools, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: 🆕 New
Development

No branches or pull requests

2 participants