Home > System Tutorial > LINUX > body text

How to display slides in Linux terminal

王林
Release: 2024-02-12 10:48:18
forward
1145 people have browsed it

Presentations often feel boring. Therefore, some people will add elements such as animation, comics or memes to add some humor and style to break up the monotonous atmosphere.

If you need to add some unique flair to your college or company presentations, how about considering using a Linux terminal? Imagine how cool this would be!

How to display slides in Linux terminal

Present: Demonstrate in Linux terminal

You can do a lot of fun and interesting things in the terminal. Creating and presenting slideshows is just one of them.

This Python-based app called Present lets you create Markdown and YML-based slides that you can give talks at your university or company and entertain people in true geeky style.

Function of Present

You can use Present to do the following:

  1. Add text to slides using Markdown syntax
  2. Control the slideshow with arrows or PgUp/Down keys
  3. Change foreground and background colors
  4. Add images to slideshow
  5. Add code block
  6. Play the simulation code and output it using codio YML file

Installing Present on Linux

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

  1. 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 this way:

  1. sudo pip3 install present

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

Use Present in the Linux terminal to create and present slideshows

How to display slides in Linux terminal

Since Present uses Markdown syntax, you should use it to create your own slideshows. Using a Markdown editor can help here.

Present requires a Markdown file to read and play the slideshow. You can download this sample slideshow, but you will need to download the embedded image separately and place it inside the images folder.

  • Используйте в файлах Markdown для разделения слайдов.
  • Добавляйте текст на слайды, используя синтаксис Markdown.
  • Добавьте изображение, используя следующий синтаксис ![RC] (images/name.png).
  • Измените цвет слайдов, добавив синтаксис, например .
  • Используйте синтаксис типа , чтобы добавить слайд-шоу с эффектами.
  • Используйте синтаксис codio, чтобы добавить код для запуска моделирования.
  • Используйте q для выхода из презентации и используйте стрелки влево/вправо или клавиши PgUp/Вниз для управления слайд-шоу.

Имейте в виду, что изменение размера окна терминала во время демонстрации может все испортить, как и нажатие Enter.

Подведем итог

Если вы знакомы с Markdown и терминалом, использование Present не составит для вас труда.
Его нельзя сравнивать с обычными слайд-шоу, созданными с помощью Impress, MS Office и т. д., но для периодического использования это отличный инструмент. Если вы специализируетесь в области компьютерных наук/сетей, разработчика или системного администратора, вашим коллегам это обязательно покажется интересным.

The above is the detailed content of How to display slides in Linux terminal. For more information, please follow other related articles on the PHP Chinese website!

source:lxlinux.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!