Live data from Hacker News

Presenterm: Markdown Slideshows in the Terminal

github.com

41–48 of 48 posts

Re: Presenterm: Markdown Slideshows in the Terminal

#41

What is the benfit of doing this in the terminal over tools such as Slidev or Marp which also allow you to make slides based on Markdown? - Slidev: https://sli.dev/ - Marp: https://marp.app/

I made a terminal based presentation tool some years back and like sibling comments said, it was neat for switching back and forth to code samples and output.

Mine wasn't markdown tho: I used ttyrec to record a terminal session to a file per slide and the tool just played it back. I set it up so pressing most keys would advance the playback hackertyper style, advancing 200ms per keypress IIRC. When you reach the end of a slide, press return for the next one. The back and forward arrows were used to jump between slides quickly, and title text was done with figlet.

I only used it for a couple of in house presentations and meetups where the hacker styling was appropriate; there wasn't much to it so the code wasn't released, it'd be easy to recreate.

edited to add: I forgot, I did put it in a gist. https://gist.github.com/bazzargh/a267b97a52f7a1f70c46 ymmv. I recall the playback struggled with things like vim, I always meant to try integrating as cinema since it seems to work better

Re: Presenterm: Markdown Slideshows in the Terminal

#42
Speaker notes seem to need an extra step; start an additional terminal on the laptop screen (not the presented screen), then start the speaker notes instance via a terminal command. PowerPoint understands the difference between your own laptop screen and the external output.

Still, good that they thought of including speaker notes, plus this is more flexible in combination with ssh.

Re: Presenterm: Markdown Slideshows in the Terminal

#44
Trying to make a presentation right now. In order to render mermaid charts I need to install 'mmdc', or mermaid-cli perhaps -- but this is npm territory and I dont really want to get into the whole node ecosystem, it would be opening a can of worms for sure.

Is this the only support for rendering mermaid in presenterm?

Re: Presenterm: Markdown Slideshows in the Terminal

#45
post #23

Any chance of adding mermaid syntax for ANSI or ASCII charts?

Mermaid is already supported natively, meaning the mermaid diagram output is rendered as actual images; no need for ascii diagrams https://mfontanini.github.io/presenterm/features/code/mermai...

This is great if you are fine managing npm packages, seems the only smooth way to install mermaid-cli. I'd say this is a mermaid limitation not a presenterm limitation.

Re: Presenterm: Markdown Slideshows in the Terminal

#46

Phenomenal - I've been using patat for this: https://github.com/jaspervdj/patat This has in line snippet execution, critical for how I present - so lets switch to this.

Patat looks great, is there a means to export to pdf? Thats one thing I think I need, to be able to share a doc of the slides I present.

Re: Presenterm: Markdown Slideshows in the Terminal

#47

Trying to make a presentation right now. In order to render mermaid charts I need to install 'mmdc', or mermaid-cli perhaps -- but this is npm territory and I dont really want to get into the whole node ecosystem, it would be opening a can of worms for sure. Is this the only support for rendering mermaid in presenterm?

Yes, unfortunately mermaid requires not only node but also a browser instance (!!). I don't like it at all but I don't think there's any alternatives. If you or anyone knows a way of avoiding installing a javascript package to do this please create an issue in the repo!

Re: Presenterm: Markdown Slideshows in the Terminal

#48

Earlier quoted context omitted.

Mermaid is already supported natively, meaning the mermaid diagram output is rendered as actual images; no need for ascii diagrams https://mfontanini.github.io/presenterm/features/code/mermai...

This is great if you are fine managing npm packages, seems the only smooth way to install mermaid-cli. I'd say this is a mermaid limitation not a presenterm limitation.

Yeah, I'd love to not rely on an npm package but it's unfortunately the only way to do this out of the box.
Post reply on HN