Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add markdown support (Lab#2) #9

Closed
mismathh opened this issue Sep 19, 2023 · 1 comment · Fixed by #13
Closed

Add markdown support (Lab#2) #9

mismathh opened this issue Sep 19, 2023 · 1 comment · Fixed by #13

Comments

@mismathh
Copy link
Contributor

I'd like to implement two new features to this repo:

  • File handling support for .md files
  • Convert Heading 2 markdown syntax to appropriate HTML tags

I plan to add .md support by working within the parseArguments.ts file and wherever it checks if a file ends in .txt, I will add in another condition to check if the file also ends in .md.

In order to implement Heading 2 markdown conversion, I plan to create another .ts within the parse-markdown folder and use regex to convert Heading 2 markdown syntax into <h2>...</h2> HTML tag.

@paulkim26
Copy link
Owner

Sounds great, go for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants