{"id":13711849,"url":"https://github.com/dotnet-ad/MarkdownView","last_synced_at":"2025-05-06T21:32:23.493Z","repository":{"id":36272939,"uuid":"101799684","full_name":"dotnet-ad/MarkdownView","owner":"dotnet-ad","description":"Native markdown rendering on top of Xamarin.Forms \u0026 Markdig.","archived":false,"fork":false,"pushed_at":"2023-06-27T09:21:59.000Z","size":620,"stargazers_count":127,"open_issues_count":16,"forks_count":41,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-05T20:11:24.193Z","etag":null,"topics":["markdown","native","xamarin","xamarin-forms"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dotnet-ad.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2017-08-29T19:38:03.000Z","updated_at":"2025-02-08T09:43:22.000Z","dependencies_parsed_at":"2024-05-13T00:33:03.062Z","dependency_job_id":"2f42c758-fd60-4c24-be57-24c6703bebc1","html_url":"https://github.com/dotnet-ad/MarkdownView","commit_stats":null,"previous_names":["aloisdeniel/markdownview"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotnet-ad%2FMarkdownView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotnet-ad%2FMarkdownView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotnet-ad%2FMarkdownView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotnet-ad%2FMarkdownView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dotnet-ad","download_url":"https://codeload.github.com/dotnet-ad/MarkdownView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252772157,"owners_count":21801865,"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":["markdown","native","xamarin","xamarin-forms"],"created_at":"2024-08-02T23:01:12.285Z","updated_at":"2025-05-06T21:32:22.190Z","avatar_url":"https://github.com/dotnet-ad.png","language":"C#","readme":"# MarkdownView *for Xamarin.Forms* \n\n[![NuGet](https://img.shields.io/nuget/v/Xam.Forms.MarkdownView.svg?label=NuGet)](https://www.nuget.org/packages/Xam.Forms.MarkdownView/) [![Donate](https://img.shields.io/badge/donate-paypal-yellow.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations\u0026business=ZJZKXPPGBKKAY\u0026lc=US\u0026item_name=GitHub\u0026item_number=0000001\u0026currency_code=USD\u0026bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)\n\nA native Xamarin.Forms Markdown renderer.\n\n## Gallery\n\n![Light theme](Documentation/Screenshot.png)\n\n## Introduction\n\nCompared to a majority of solutions, MarkdownView will render every component as **a native Xamarin.Forms view instead of via an HTML backend.** The Markdown is directly translated from a syntax tree to a hierarchy of Xamarin.Forms views, : no HTML is being produced at all (hurray)!\n\nThis will produce a more reactive user interface, at the cost of rendering functionalities *(at the moment though!)*.\n\n## Install\n\nAvailable on [NuGet](https://www.nuget.org/packages/Xam.Forms.MarkdownView/).\n\n## Quickstart\n\n```csharp\nvar view = new MarkdownView();\nview.Markdown = \"# Hello world\\n\\nThis is my first native markdown rendering\";\nview.Theme = new DarkMarkdownTheme(); // Default is white, you also modify various values\nthis.Content = view;\n```\n\n## Limitations\n\nUnfortunately, Xamarin.Forms string rendering has some limitations ...\n\n* **Inlined images aren't supported** (*Xamarin.Forms formatted strings doesn't support inlined views*) : They will be displayed after the block they are referenced from.\n* **Links are only clickable at a leaf block level**  (*Xamarin.Forms formatted strings doesn't support span user interactions*) : if a leaf block contains more than one link, the user is prompted. This is almost a feature since text may be too small to be enough precise! ;)\n* **SVG rendering is very limited** (*The SVG rendering is based on SkiaSharp which doesn't seem to manage well all svg renderings*)\n\n## Roadmap\n\n* **Customization**\n\t* [X] Styles \n\t* [X] Themes \n* **Leaf blocks**\n\t* [X] Headings\n\t* [X] Paragraphs\n\t* [ ] HTML Blocks (maybe partial and specific support)\n\t* [ ] Link reference definitions\n\t* [X] Code blocks\n\t* [X] Thematic breaks\n* **Container blocks**\n\t* [X] Block quote\n\t* [X] Lists\n\t\t* [ ] Numbers bullet formats\n\t\t* [ ] Custom bullets\n* **Inlines**\n\t* [X] Textual content\n\t* [X] Emphasis and string emphasis\n\t* [X] Code spans\n\t* [X] Links (partial, no interaction)\n\t* [X] Image blocks (partial, not inlined)\n\t\t* [X] SVG Rendering (Skia)\n* **Extensions**\n\t* [ ] Table blocks\n\t* [ ] Emojis (ascii)\n\t* [ ] Task lists \n\n## Thanks\n\n* [lunet-io/markdig](https://github.com/lunet-io/markdig) : used for Markdown parsing\n* [mono/SkiaSharp](https://github.com/mono/SkiaSharp) : used for SVG rendering\n\n## Contributions\n\nContributions are welcome! If you find a bug please report it and if you want a feature please report it.\n\nIf you want to contribute code please file an issue and create a branch off of the current dev branch and file a pull request.\n\n## License\n\nMIT © [Aloïs Deniel](http://aloisdeniel.github.io)\n","funding_links":["https://www.paypal.com/cgi-bin/webscr?cmd=_donations\u0026business=ZJZKXPPGBKKAY\u0026lc=US\u0026item_name=GitHub\u0026item_number=0000001\u0026currency_code=USD\u0026bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted"],"categories":["UI"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotnet-ad%2FMarkdownView","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdotnet-ad%2FMarkdownView","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotnet-ad%2FMarkdownView/lists"}