{"id":32148760,"url":"https://github.com/loopwerk/swiftmarkdown","last_synced_at":"2026-02-19T07:01:37.274Z","repository":{"id":63916700,"uuid":"336277503","full_name":"loopwerk/SwiftMarkdown","owner":"loopwerk","description":"A Swift wrapper for Python-Markdown","archived":false,"fork":false,"pushed_at":"2021-02-20T18:22:54.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-21T09:58:09.837Z","etag":null,"topics":["markdown","markdown-parser","markdown-to-html","python-markdown","swift"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":false,"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/loopwerk.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}},"created_at":"2021-02-05T13:19:39.000Z","updated_at":"2021-02-20T18:22:57.000Z","dependencies_parsed_at":"2023-01-14T13:45:52.522Z","dependency_job_id":null,"html_url":"https://github.com/loopwerk/SwiftMarkdown","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/loopwerk/SwiftMarkdown","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loopwerk%2FSwiftMarkdown","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loopwerk%2FSwiftMarkdown/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loopwerk%2FSwiftMarkdown/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loopwerk%2FSwiftMarkdown/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/loopwerk","download_url":"https://codeload.github.com/loopwerk/SwiftMarkdown/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loopwerk%2FSwiftMarkdown/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29605799,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T06:47:36.664Z","status":"ssl_error","status_checked_at":"2026-02-19T06:45:47.551Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["markdown","markdown-parser","markdown-to-html","python-markdown","swift"],"created_at":"2025-10-21T09:09:11.409Z","updated_at":"2026-02-19T07:01:37.268Z","avatar_url":"https://github.com/loopwerk.png","language":"Swift","readme":"# SwiftMarkdown\n\nA Swift wrapper for [Python-Markdown](https://github.com/Python-Markdown/markdown), using [PythonKit](https://github.com/pvieito/PythonKit).\n\nYou'll need to install Python-Markdown (and optionally pygments) yourself.\n\n## Usage\n\n``` swift\nimport SwiftMarkdown\n\nlet markdown = try SwiftMarkdown.markdown(\"Hello, World!\")\nprint(markdown.html)\n\nlet string = \"\"\"\n---\ntags: news, swift\ndate: 2021-02-04\n---\n# Hello world\nThis uses metadata\n\"\"\"\n\nlet markdownWithMetadata = try SwiftMarkdown.markdown(string, extensions: [.meta])\nprint(markdownWithMetadata.metadata) // [\"tags\": \"news, swift\", \"date\": \"2021-02-04\"]\n\n```\n\nSee https://python-markdown.github.io/extensions for documentation on the \"extensions\".\n\nSwiftMarkdown also comes bundles with its own three extensions:\n\n- `.title`, which removes the first title from the html output and instead makes it available as `result.title`\n- `.strikethrough`, which turns `~~text~~` into ~~text~~\n- `.urlize`, which turns naked links into clickable links\n\n\n## Installation\n\nUsing Swift Package Manager\n\n```\n.package(url: \"https://github.com/loopwerk/SwiftMarkdown\", from: \"0.4.0\"),\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floopwerk%2Fswiftmarkdown","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Floopwerk%2Fswiftmarkdown","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floopwerk%2Fswiftmarkdown/lists"}