Question: Write a python program that converts a given Markdown text to HTML text. A sample Markdown input file is given for testing purposes, which describes

Write a python program that converts a given Markdown text to HTML text. A sample Markdown input file is given for testing purposes, which describes the simplified Markdown syntax that your program needs to understand i.e., paragraphs, headers, emphasis, lists, and code, but not images, links, block quotes, or other features.

Help: The complete syntax is described at http://daringfireball.net/projects/markdown/basics . Also, http://markable.in/ is an online tool that converts HTML to Markdown and vice versa, so you can copy-paste given Markdown text and check its HTML format

Write a python script that reads the markdown file provided and generates HTML file using regular expressions as much as possible.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!