{"id":24494659,"url":"https://github.com/baynezy/html2markdown","last_synced_at":"2025-05-16T01:06:32.611Z","repository":{"id":631166,"uuid":"11143269","full_name":"baynezy/Html2Markdown","owner":"baynezy","description":"A library for converting HTML to markdown syntax in C#","archived":false,"fork":false,"pushed_at":"2025-05-06T09:01:21.000Z","size":4812,"stargazers_count":294,"open_issues_count":14,"forks_count":56,"subscribers_count":9,"default_branch":"develop","last_synced_at":"2025-05-16T01:06:24.692Z","etag":null,"topics":["c-sharp","html","html2markdown","markdown","nuget"],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/baynezy.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2013-07-03T06:06:50.000Z","updated_at":"2025-05-16T00:09:01.000Z","dependencies_parsed_at":"2024-01-14T20:18:15.638Z","dependency_job_id":"5d3eb77b-2289-47a4-ab91-a92268313a87","html_url":"https://github.com/baynezy/Html2Markdown","commit_stats":{"total_commits":214,"total_committers":5,"mean_commits":42.8,"dds":"0.17757009345794394","last_synced_commit":"5a91275177b80311410c881e21bcfd72e98464eb"},"previous_names":[],"tags_count":110,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baynezy%2FHtml2Markdown","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baynezy%2FHtml2Markdown/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baynezy%2FHtml2Markdown/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baynezy%2FHtml2Markdown/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/baynezy","download_url":"https://codeload.github.com/baynezy/Html2Markdown/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254448579,"owners_count":22072764,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["c-sharp","html","html2markdown","markdown","nuget"],"created_at":"2025-01-21T20:16:37.723Z","updated_at":"2025-05-16T01:06:27.600Z","avatar_url":"https://github.com/baynezy.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HTML2Markdown\n\nConverts HTML to [Markdown](http://daringfireball.net/projects/markdown/syntax).\n\n---\n\n![Html2Markdown](https://cloud.githubusercontent.com/assets/1049999/11505182/0480ad76-9841-11e5-8a62-126d4b7c03be.png)\n\n## Build Status\n\n| Branch    | Status                                                                                                                                                                                              |\n|-----------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `master`  | [![master](https://github.com/baynezy/Html2Markdown/actions/workflows/branch-master.yml/badge.svg?branch=master)](https://github.com/baynezy/Html2Markdown/actions/workflows/branch-master.yml)     |\n| `develop` | [![develop](https://github.com/baynezy/Html2Markdown/actions/workflows/branch-develop.yml/badge.svg?branch=develop)](https://github.com/baynezy/Html2Markdown/actions/workflows/branch-develop.yml) |\n\n[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=baynezy_Html2Markdown\u0026metric=coverage)](https://sonarcloud.io/summary/new_code?id=baynezy_Html2Markdown)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=baynezy_Html2Markdown\u0026metric=alert_status)](https://sonarcloud.io/summary/new_code?id=baynezy_Html2Markdown)\n\n## Support\n\nThis project will currently convert the following HTML tags:-\n\n- `\u003ca\u003e`\n- `\u003cstrong\u003e`\n- `\u003cb\u003e`\n- `\u003cem\u003e`\n- `\u003ci\u003e`\n- `\u003cbr\u003e`\n- `\u003ccode\u003e`\n- `\u003ch1\u003e`\n- `\u003ch2\u003e`\n- `\u003ch3\u003e`\n- `\u003ch4\u003e`\n- `\u003ch5\u003e`\n- `\u003ch6\u003e`\n- `\u003cblockquote\u003e`\n- `\u003cimg\u003e`\n- `\u003chr\u003e`\n- `\u003cp\u003e`\n- `\u003cpre\u003e`\n- `\u003cul\u003e`\n- `\u003col\u003e`\n\n## Installing via NuGet\n\n[![NuGet version](https://badge.fury.io/nu/Html2Markdown.svg)](http://badge.fury.io/nu/Html2Markdown)\n\n```pwsh\n    Install-Package Html2Markdown\n```\n\n## Usage\n\n### Strings\n\n```csharp\nvar html = \"Something to \u003cstrong\u003econvert\u003c/strong\u003e\";\nvar converter = new Converter();\nvar markdown = converter.Convert(html);\n```\n\n### Files\n\n```csharp\nvar path = \"file.html\";\nvar converter = new Converter();\nvar markdown = converter.ConvertFile(path);\n```\n\n### Documentation\n\n[Library Documentation](https://baynezy.github.io/Html2Markdown/)\n\n## Customise\n\n### Create new `IScheme` implementation\n\nCreate your own implementation of `IScheme` and construct `Converter` with that.\n\n```csharp\nvar html = \"Something to \u003cstrong\u003econvert\u003c/strong\u003e\";\nvar converter = new Converter(customConversionScheme);\nvar markdown = converter.Convert(html);\n```\n\n## Try it\n\nThis library is showcased at [http://html2markdown.bayn.es](http://html2markdown.bayn.es).\n\n## Contributing\n\n[For those interested in contributing then please read the guidelines](CONTRIBUTING.md)\n\n## License\n\nThis project is licensed under [Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaynezy%2Fhtml2markdown","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbaynezy%2Fhtml2markdown","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaynezy%2Fhtml2markdown/lists"}