{"id":27425137,"url":"https://github.com/phil-scott-78/markdig.semanticui","last_synced_at":"2026-04-21T08:02:29.711Z","repository":{"id":76909994,"uuid":"80649363","full_name":"phil-scott-78/Markdig.SemanticUi","owner":"phil-scott-78","description":"Extension to use SemanticUi classes with Markdig","archived":false,"fork":false,"pushed_at":"2017-02-01T18:53:37.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-27T15:20:54.616Z","etag":null,"topics":["markdig","markdown","semantic-ui"],"latest_commit_sha":null,"homepage":null,"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/phil-scott-78.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,"zenodo":null}},"created_at":"2017-02-01T18:18:23.000Z","updated_at":"2018-02-08T10:24:55.000Z","dependencies_parsed_at":"2023-02-23T13:15:28.252Z","dependency_job_id":null,"html_url":"https://github.com/phil-scott-78/Markdig.SemanticUi","commit_stats":null,"previous_names":["enkafan/markdig.semanticui"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/phil-scott-78/Markdig.SemanticUi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phil-scott-78%2FMarkdig.SemanticUi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phil-scott-78%2FMarkdig.SemanticUi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phil-scott-78%2FMarkdig.SemanticUi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phil-scott-78%2FMarkdig.SemanticUi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phil-scott-78","download_url":"https://codeload.github.com/phil-scott-78/Markdig.SemanticUi/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phil-scott-78%2FMarkdig.SemanticUi/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267790602,"owners_count":24144872,"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","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"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":["markdig","markdown","semantic-ui"],"created_at":"2025-04-14T11:57:40.409Z","updated_at":"2025-12-25T12:38:18.028Z","avatar_url":"https://github.com/phil-scott-78.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Markdig.SemanticUi\n\nExtension to use SemanticUi classes with Markdig.\n\n* Adds `ui table` to table elements (when the advanced extension is also used)\n* Adds `ui spaced image` to images\n\n[![NuGet](https://img.shields.io/nuget/v/Markdig.SemanticUi.svg)](https://www.nuget.org/packages/Markdig.SemanticUi) [![Build status](https://ci.appveyor.com/api/projects/status/a7oka6r4w94ehe99/branch/master?svg=true)](https://ci.appveyor.com/project/enkafan/markdig-semanticui/branch/master) [![CodeFactor](https://www.codefactor.io/repository/github/enkafan/markdig.semanticui/badge)](https://www.codefactor.io/repository/github/enkafan/markdig.semanticui)\n\n\n## Examples\n\nImages\n\n``` csharp\nconst string markdown = \"My image ![Image of Yaktocat](https://octodex.github.com/images/yaktocat.png)\";\nconst string expected = \"\u003cp\u003eMy image \u003cimg src=\\\"https://octodex.github.com/images/yaktocat.png\\\" class=\\\"ui spaced image\\\" alt=\\\"Image of Yaktocat\\\" /\u003e\u003c/p\u003e\\n\";\n\nvar pipeline = new MarkdownPipelineBuilder()\n    .UseAdvancedExtensions()\n    .UseSemanticUi()\n    .Build();\nvar result = Markdown.ToHtml(markdown, pipeline);\nresult.ShouldBe(expected);\n```\n\nTables\n\n``` csharp\nconst string markdown = @\"First Header | Second Header\n------------ | -------------\nContent from cell 1 | Content from cell 2\nContent in the first column | Content in the second column\";\n\nconst string expected = @\"\u003ctable class=\"\"ui table\"\"\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eFirst Header\u003c/th\u003e\n\u003cth\u003eSecond Header\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eContent from cell 1\u003c/td\u003e\n\u003ctd\u003eContent from cell 2\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eContent in the first column\u003c/td\u003e\n\u003ctd\u003eContent in the second column\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\";\n\nvar pipeline = new MarkdownPipelineBuilder()\n    .UseAdvancedExtensions()\n    .UseSemanticUi()\n    .Build();\nvar result = Markdown.ToHtml(markdown, pipeline);\nresult.ShouldBe(expected);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphil-scott-78%2Fmarkdig.semanticui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphil-scott-78%2Fmarkdig.semanticui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphil-scott-78%2Fmarkdig.semanticui/lists"}