Markdown is a text-to-HTML conversion tool. In other words “Markdown” is two things:
(1) a plain text formatting syntax
(2) a software tool, written in Perl, that converts the plain text formatting to HTML.
Starting with Markdown
Here I am using ubuntu.
so first install discount package by using following command
sudo apt-get install discount
after installing this write down a file in text editor. Here I am using vim.
so in terminal write vim filename.md
and go in insert mode by pressing i and write. Here is the source code of file in markdown written by me.
Image links are
This is a file explaining all basics functions of Markdown.
Now save this file and in terminal write
and then type ls
we will see a file named with filename.html. for example
and the output of above file is