Skip to content

afinesami/Markdown2HTML

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Markdown to HTML

Requirements

  • All files are created and executed on Ubuntu 18.04 LTS using Python3 (version 3.7)
  • All Python code is linted with PEP 8 style guide (version 1.7.*)

Tasks

Write a script markdown2html.py that takes an argument 2 strings:

  • First argument is the name of the Markdown file
  • Second argument is the output file name

Requirements:

  • If the number of arguments is less than 2: print in STDERR Usage: ./markdown2html.py README.md README.html and exit 1
  • If the Markdown file doesn’t exist: print in STDER Missing and exit 1
  • Otherwise, print nothing and exit 0

Improve markdown2html.py by parsing Headings syntax for generating HTML:

Improve markdown2html.py by parsing Unordered listing syntax for generating HTML:

Improve markdown2html.py by parsing Ordered listing syntax for generating HTML:

Improve markdown2html.py by parsing paragraph syntax for generating HTML:

Improve markdown2html.py by parsing Bold and Emphasis syntax for generating HTML:

Improve markdown2html.py by parsing ??? for generating HTML:

Author

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages