Converting md File into Reval.js Presentation

Today, you will know about the very interesting thing of markdown.

Have you ever converted pdf file or text file directly into presentation.

To convert pdf file to text file

 pdftotext  ../NIDHI.pdf  ../Start.txt

Here ../NIDHI.pdf  is the source path of the file and ../Start.txt  is the destination path of the file.

It might be boring that after searching a very good material on the topic for a long time you have to pay your time in making presentation slide by slide(dragging and dropping).

So, I will tell you a very good shortcut to make beautiful reveal.js presentation with in few minutes. Isn’t it looking interesting.

For it you have to install npm, nodejs-legacy and finally reveal-md.

sudo apt-get install npm

sudo apt-get install nodejs-legacy

sudo npm install -g reveal-md

reveal-md NIDHI.md

Node.js is an open-source, cross-platform runtime environment for developing server-side Web applications. Node.js is not a JavaScript framework rather platform.

To run your application on the local server you need to install nodejs-legacy.

What is Reveal.js?

Reveal.js is a framework for easily creating beautiful presentations using HTML.

reveal-md is used to convert markdown file to beautiful reveal.js presentation visible on the browser. Here NIDHI.md is the name of my file.

What is package manager?

A package manager or package management system is a collection of software tools that automates the process of installing, upgrading, configuring, and removing computer programs for a computer’s operating system in a consistent manner.

What is npm?

npm is the default package manager for the JavaScript runtime environment ( i.e.Node.js).

As its name would imply, you can use it to install node program.

npm runs through the command line and manages dependencies for an application. It also allows users to install Node.js applications that are available on the npm registry.

If you know any alternatives of reveal.js then please update me.:)

Will update soon with these type of interesting things.

Till then Good Bye and have a nice day.

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s