{"id":21590517,"url":"https://github.com/anishlearnstocode/md-to-html-parser","last_synced_at":"2026-04-16T07:31:00.547Z","repository":{"id":98363121,"uuid":"261438096","full_name":"anishLearnsToCode/md-to-html-parser","owner":"anishLearnsToCode","description":"This is a markdown parser that returns valid html code for any valid markdown text.  ","archived":false,"fork":false,"pushed_at":"2020-08-03T04:46:03.000Z","size":32,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-10T08:03:25.681Z","etag":null,"topics":["html","markdown","md","parser"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anishLearnsToCode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-05-05T11:09:13.000Z","updated_at":"2020-08-03T12:41:22.000Z","dependencies_parsed_at":"2023-04-06T08:06:12.188Z","dependency_job_id":null,"html_url":"https://github.com/anishLearnsToCode/md-to-html-parser","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/anishLearnsToCode/md-to-html-parser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anishLearnsToCode%2Fmd-to-html-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anishLearnsToCode%2Fmd-to-html-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anishLearnsToCode%2Fmd-to-html-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anishLearnsToCode%2Fmd-to-html-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anishLearnsToCode","download_url":"https://codeload.github.com/anishLearnsToCode/md-to-html-parser/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anishLearnsToCode%2Fmd-to-html-parser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31876265,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"online","status_checked_at":"2026-04-16T02:00:06.042Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["html","markdown","md","parser"],"created_at":"2024-11-24T16:18:36.695Z","updated_at":"2026-04-16T07:31:00.532Z","avatar_url":"https://github.com/anishLearnsToCode.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Markdown to HTML Parser\n\nAs the name makes evidently clear. This project is a markdown to html parser.\n\nIt takes in valid markdown strings and will return a valid html snippet.\n\n## Examples\n\n### Bold\n```markdown\nthis is markdown for representing text in __bold__\n``` \nthis is markdown for representing text in __bold__\n\nThe output in html will be \n```html\nthis is markdown for representing text in \u003cb\u003ebold\u003c/b\u003e\n```\n\n### Italics\n```markdown\nthis is markdown for representing text in _italics_\n``` \nthis is markdown for representing text in _italics_\n\nThe output in html will be \n```html\nthis is markdown for representing text in \u003cem\u003ebold\u003c/em\u003e\n```\n\n### Strike Through\n```markdown\nthis is markdown for representing text in ~strikethrough~\n``` \nthis is markdown for representing text in ~~strikethrough~~\n\nThe output in html will be \n```html\nthis is markdown for representing text in \u003cstrike\u003estrikethrough\u003c/strike\u003e\n```\n\n### Block Quotes\n```markdown\n\u003e This is a blockquote text\n```\n\n```html\n\u003cblockquote\u003eThis is a blockquote text\u003c/blockquote\u003e\n```\n\n### Ordered Lists\n```markdown\nOrdered List\n1. point 1\n1. point 2\n1. point 3\n```\n\n```html\n\u003cp\u003eOrdered List\u003c/p\u003e\n\u003col\u003e\n    \u003cli\u003epoint 1\u003c/li\u003e\n    \u003cli\u003epoint 2\u003c/li\u003e\n    \u003cli\u003epoint 3\u003c/li\u003e\n\u003c/ol\u003e\n```\n\n### Unordered Lists\n```markdown\nUnordered Lists\n- apples\n- bananas\n- tomatoes\n```\n\n```html\n\u003cp\u003eUnordered List\u003c/p\u003e\n\u003cul\u003e\n    \u003cli\u003eapples\u003c/li\u003e\n    \u003cli\u003ebananas\u003c/li\u003e\n    \u003cli\u003etomatoes\u003c/li\u003e\n\u003c/ul\u003e\n```\n\n### Code\n```markdown\n`let i = 10;`\n```\n\n```html\n\u003ccode\u003elet i = 10;\u003c/code\u003e\n```\n\n### Fenced Code Block\n```text\n``java\npackage trees;\n\npublic class PreorderTraversal {\n    public static void main(String[] args) {\n        Tree root = new Tree();\n        root.input();\n        root.print();\n\n        preOrder(root);\n    }\n\n    private static void preOrder(Tree root){\n        if(root == null)\n            return;\n\n        System.out.print(root.data + \" \");\n        preOrder(root.left);\n        preOrder(root.right);\n    }\n}\n``\n```\n\n```html\n\u003cpre\u003e\n    package trees;\n    \n    public class PreorderTraversal {\n        public static void main(String[] args) {\n            Tree root = new Tree();\n            root.input();\n            root.print();\n    \n            preOrder(root);\n        }\n    \n        private static void preOrder(Tree root){\n            if(root == null)\n                return;\n    \n            System.out.print(root.data + \" \");\n            preOrder(root.left);\n            preOrder(root.right);\n        }\n    }\n\u003c/pre\u003e\n```\n\n### Horizontal Rule\n```markdown\n---\n```\n\n```html\n\u003chr\u003e\n```\n\n### Link\n```markdown\n[Google](https://www.google.com)\n```\n\n```html\n\u003ca href=\"https:www.google.com\"\u003eGoogle\u003c/a\u003e\n```\n\n### Images\n```markdown\n![alt-text](image-path)\n![banana](https://raw.githubusercontent.com/anishLearnsToCode/fruit-stall-poster/master/assets/banana.jpg)\n```\n\n```html\n\u003cimg src=\"https://raw.githubusercontent.com/anishLearnsToCode/fruit-stall-poster/master/assets/banana.jpg\" alt=\"banana\"\u003e\n```\n\n### Tables\n```markdown\n| Tables   |      Are      |  Cool |\n|----------|:-------------:|------:|\n| col 1 is |  left-aligned | $1600 |\n| col 2 is |    amazing   |   $12 |\n| col 3 is | 😀😀 |    $1 |\n```\n\n```html\n\u003ctable\u003e\n    \u003cthead\u003e\n        \u003ctr\u003e\n            \u003cth\u003eTables\u003c/th\u003e\n            \u003cth\u003eAre\u003c/th\u003e\n            \u003cth\u003eCool\u003c/th\u003e\n        \u003c/tr\u003e\n    \u003c/thead\u003e\n\n    \u003ctbody\u003e\n        \u003ctr\u003e\n            \u003ctd\u003ecol 1 is\u003c/td\u003e\n            \u003ctd\u003eleft-aligned\u003c/td\u003e\n            \u003ctd\u003e$1600\u003c/td\u003e\n        \u003c/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003ecol 2 is\u003c/td\u003e\n            \u003ctd\u003eamazing\u003c/td\u003e\n            \u003ctd\u003e$12\u003c/td\u003e\n        \u003c/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003ecol 3 is\u003c/td\u003e\n            \u003ctd\u003e😀😀\u003c/td\u003e\n            \u003ctd\u003e$1\u003c/td\u003e\n        \u003c/tr\u003e\n    \u003c/tbody\u003e\n\u003c/table\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanishlearnstocode%2Fmd-to-html-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanishlearnstocode%2Fmd-to-html-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanishlearnstocode%2Fmd-to-html-parser/lists"}