Giter Club home page Giter Club logo

assignment's Introduction

Problem Statement - Parse all MD files from a GitHub repository and render the result in HTML format in a web server

Instructions

  • Fork this repository
  • Write a web server of your choice (Flask, for example) which will recursively parse all MD files from the forked repository
  • The index page of your server needs to list all file paths as hyperlinks
  • Clicking on any of them, server routes to a different page where the parsed MD file is displayed in HTML format

Example

We have the directory structure as

  • Introduction/Chapter-One.md
  • Introduction/Chapter-Two.md
  • Setup/Chapter-One.md
  • Setup/Chapter-Two.md
  • images/
  • README.md

Let's assume your server runs on port 5000.
The index page of your server needs to be accessible in your web browser as mentioned below -

http://localhost:5000/

Note: The hyperlinks used here are for demo purpose only; they are not functional. Also, omit README.md file. images directory needs to be omitted as well since they do not contain any MD files

Let's say we click on Introduction/Chapter-One
Server needs to route to http://localhost:5000/Introduction/Chapter-One, where the result on your webpage is HTML equivalent of the parsed MD file

This is the MD file

This is parsed HTML, which needs to be shown in web browser

assignment's People

Contributors

febincloudyuga avatar nkhare avatar cloudyuga avatar

Stargazers

 avatar

Watchers

 avatar James Cloos 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.