How to create and present a presentation on the Linux command line

Source: Internet
Author: User
Tags git clone arch linux

As you prepare a speech, your mind may be dominated by an illustrated, flamboyant presentation of the artwork. Admittedly, no one would deny the positive effect of a vivid speech. However, not all speeches require the quality of TED talk. More often than not, speeches only convey specific information. And this, the use of text information is sufficient to complete. In this case, your time can be better spent gathering and verifying information, rather than looking for good-looking pictures on Google image search.

In the world of Linux, there are several different ways you can choose to make a speech. For example, with a large number of multimedia display, excellent visual impact impress.js, designed for latex users to provide Beamer, and so on. And if you're struggling to find a simple way to create and present a text presentation, MDP can help you achieve it.

What is MDP?

MDP is the next ncurses-based command-line presentation tool for Linux. I like MDP because it supports markdown, making it easy for me to create slides in a familiar markdown format. Naturally, it also makes it easy to publish slides in HTML format. Another benefit is that it supports UTF-8 character encoding, which makes it easy to display non-English characters, such as Greek or Cyrillic letters.

installing MDP in Linux

MDP has very few dependent requirements (such as NCURSESW), which makes installation very simple.

Debian, Ubuntu, or their derivative version.
$ sudo apt-get install git gcc make Libncursesw5-dev $ git clone https://github.com/visit1985/mdp.git $ cd MDP $ make $ su Do make install
Fedora or Centos/rhel
$ sudo yum install git gcc make ncurses-devel $ git clone https://github.com/visit1985/mdp.git $ cd MDP $ make $ sudo make Install
Arch Linux

Arch Linux can easily install MDP via the Aur.

Create a presentation on the command line

After installing MDP, you can easily create a presentation using your favorite text editor. If you are familiar with markdown, you will soon be able to harness MDP. For those unfamiliar with markdown, the best way to learn MDP is to start with an example.

Here is a sample of the 6-page presentation to be consulted.

 %title:sample Presentation made with MDP (xmodulo.com)%author:dan Nanni%date:2015-01-28-This is a slide title <-=========, MDP is a command-line based presentation tool with Markdown support. <-*_features_* * Multi-level headers * Code block formatting * Nested Quotes * Nested list * Text Highlight and Unde Rline * Citation * UTF-8 special characters--------------------------------------------------> # Example of nested  List <-This is an example of multi-level headers and a nested list.  # first-level Title Second-level-------------*item 1*-sub-item 1-sub-sub-item 1-sub-sub-item 2-sub-sub-item 3 -Sub-item 2--------------------------------------------------> # Example of code block formatting <-this Exa  Mple shows how to format a code snippet.  1/* Hello World Program */2 3 #include <stdio.h> 4 5 int main () 6 {7 printf ("Hello World"), 8 return 0; 9} this Example shows inline code: ' sudo reboot '--------------------------------------------------> # Example of nested quotes <-This was an Example of nested quotes. # three-level Nested Quotes > This is the First-level quote. >> This is the Second-level quote >> and continues. >>> *this is the Third-level quote, and so on.*--------------------------------------------------> # Examp  Le of citations <-This example shows what to place a citation inside a presentation. This tutorial was published at [Xmodulo] (http://xmodulo.com) You were welcome to connect with me at [LinkedIn] (HTTP://WWW.L  Inkedin.com/in/xmodulo) Pretty cool, huh? --------------------------------------------------> # Example of UTF-8 special characters <-this Example shows U  TF-8 special characters. AE =?, oe =?, UE =ü, SS =? Alpha =?, Beta =?, Upsilon =?, phi =?  Omega =?, Delta =?, Sigma =? ??????????? ? rectangle????????????
show the presentation on the command line

After you save the above code as a slide.md text file, you can run the following command to show the presentation:

$ MDP Slide.md

You can manipulate your presentation by pressing the key to enter/SPACEBAR/next page/down cursor (next slide), rewind/PAGE Up/up cursor (previous slide), home (slide home), end (last slide) or number n (page n slide).

The title of the presentation will be displayed at the top of each slide, and your name and page number will appear at the bottom of the slide.

This is an instance effect of nested lists and multi-level headings.

This is an instance effect of code snippets and inline code.

This is an instance effect of a nested reference.

This is an instance effect of placing a citation.

This is an instance effect supported by UTF-8 encoded special characters.

Summary

In this tutorial, I demonstrated how to use MDP on the command line to create and present a presentation. MDP's markdown compatibility frees us from the hassle of learning other new formats, which is an advantage over another presentation tool called the TPP. In the limitations of MDP, it may not be your default presentation tool. However, it is certain that it will be useful in some circumstances. What do you think of MDP? Do you like anything else?

This article reprinted address: http://www.linuxprobe.com/cmd-line-presentation.html

Free to provide the latest Linux technology tutorials Books, for open-source technology enthusiasts to do more and better: http://www.linuxprobe.com/

How to create and present a presentation on the Linux command line

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.