Giter VIP home page Giter VIP logo

markdown2html's Introduction

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

markdown2html's People

Contributors

afinesami avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.