DEV Community

anshul137
anshul137

Posted on

DSP909- Topics-in-open-source - LAB2

Overview

In this lab we were asked to create the fork and clone somebody else project from the release 0.1 list.
After forking we need to create the new branches on the repo which i have created here to work on and add more functionality to it.
We need to convert the SSG project in such so that it can now take both .txt files and .md files type and parses the data out of md file and convert it into html page.

Issue

Description of my Work

To run the code and test it out for the markdown feature you need to use this command node main.js -i "./files/lab2.md".
In his code i have created the new function in the helper.js file which can read the .md file type extension and push the data in the array. Additionally I have used conditional statement in his code to check if the file type is .txt or .md

Arryell Parris release 0.1 was not working as expected. I have created some extra changes in his function to make it work.
After completing all my work in the issue-6 branch I have created the Pull Request from my branch to his main branch.

Top comments (0)