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

Issue 8 - Add support for markdown heading h1-h6, p #9

Merged
merged 8 commits into from
Sep 24, 2021

Conversation

Kevan-Y
Copy link
Contributor

@Kevan-Y Kevan-Y commented Sep 22, 2021

Fixes #8

  • Add support for .md
  • Add checking for file .txt and .md
  • Add function to convert markdown heading h1-h6, and p to HTML
  • Update readme.md

This function below is to process markdown. Will be able this function to add more markdown in the future
https://github.com/Kevan-Y/OSD_SSG/blob/05a3f8d6e5a47e43e83ec5e20b360106dda0ac3b/src/index.ts#L128-L134

README.md Outdated Show resolved Hide resolved
src/index.ts Outdated Show resolved Hide resolved
src/index.ts Outdated Show resolved Hide resolved
src/index.ts Outdated Show resolved Hide resolved
src/index.ts Outdated Show resolved Hide resolved
src/index.ts Outdated Show resolved Hide resolved
src/index.ts Outdated Show resolved Hide resolved
src/index.ts Show resolved Hide resolved
src/index.ts Outdated Show resolved Hide resolved
@Kevan-Y Kevan-Y requested a review from DukeManh September 23, 2021 15:46
src/index.ts Outdated Show resolved Hide resolved
src/index.ts Outdated Show resolved Hide resolved
src/index.ts Outdated Show resolved Hide resolved
@Kevan-Y Kevan-Y changed the title Issue 8 - Add support for markdown h1, h2, p Issue 8 - Add support for markdown heading, p Sep 24, 2021
@Kevan-Y Kevan-Y changed the title Issue 8 - Add support for markdown heading, p Issue 8 - Add support for markdown heading h1-h6, p Sep 24, 2021
@Kevan-Y Kevan-Y requested a review from DukeManh September 24, 2021 18:20
@DukeManh DukeManh merged commit 8dd0d17 into DukeManh:main Sep 24, 2021
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 this pull request may close these issues.

Add Markdown support for heading h1-h6, and p
2 participants