Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to show slides in Linux terminal

2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article is about how to show slides in Linux terminals. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

Demonstrate in the Present:Linux terminal

You can do a lot of interesting things in the terminal. Making and showing slides is just one of them.

This Python-based app, called Present, allows you to create slides based on Markdown and YML, where you can give lectures at your university or company and please people in a true geek style.

I made a video showing what it would look like to demonstrate something with Present in a Linux terminal.

The function of Present

You can use Present to do the following:

Add text to a slide using Markdown syntax

Use the arrow or PgUp/Down key to control the slide

Change the foreground and background color

Add an image to a slide

Add a code block

Play the simulation code and output it with codio YML file

Install Present on Linux

Present is a Python-based tool that you can install using PIP. You should make sure that you install Pip on Ubuntu with this command:

Sudo apt install python3-pip

If you are using another distribution, please check your package manager to install PIP3.

After installing PIP, you can install Present globally in this way:

Sudo pip3 install present

You can also install it only for the current user, but you must also add ~ /. Local/bin to your PATH environment variable.

Use Present in Linux terminals to create and present slides

Because Present uses Markdown syntax, you should use it to create your own slides. It helps to use the Markdown editor here.

Present needs a Markdown file to read and play slides. You can download this sample slide, but you need to download the embedded image separately and put it in the images folder.

Use-in the Markdown file to separate slides.

Use Markdown syntax to add text to the slide.

Add a picture using the following syntax! [RC] (images/name.png).

Change the color of the slide by adding syntax like this.

Use syntax like this to add slides with effects.

Use the codio syntax to add code to run the simulation.

Use Q to exit the presentation and use the left / right arrow or PgUp/Down key to control the slide.

Keep in mind that resizing the terminal window during the presentation can mess things up, as does pressing enter.

Thank you for reading! This is the end of the article on "how to show slides in Linux terminals". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 229

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report