{"id":2000,"url":"https://github.com/mdiep/MMMarkdown","last_synced_at":"2025-08-02T05:33:30.176Z","repository":{"id":2738865,"uuid":"3734638","full_name":"mdiep/MMMarkdown","owner":"mdiep","description":"An Objective-C framework for converting Markdown to HTML.","archived":false,"fork":false,"pushed_at":"2020-10-24T12:08:20.000Z","size":2022,"stargazers_count":1248,"open_issues_count":11,"forks_count":167,"subscribers_count":33,"default_branch":"master","last_synced_at":"2024-11-29T12:40:15.869Z","etag":null,"topics":["ios","markdown","objective-c"],"latest_commit_sha":null,"homepage":"","language":"Objective-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/mdiep.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-03-16T01:10:20.000Z","updated_at":"2024-11-11T10:38:15.000Z","dependencies_parsed_at":"2022-08-28T08:04:10.572Z","dependency_job_id":null,"html_url":"https://github.com/mdiep/MMMarkdown","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdiep%2FMMMarkdown","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdiep%2FMMMarkdown/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdiep%2FMMMarkdown/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdiep%2FMMMarkdown/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mdiep","download_url":"https://codeload.github.com/mdiep/MMMarkdown/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228443856,"owners_count":17920800,"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":["ios","markdown","objective-c"],"created_at":"2024-01-05T20:16:00.900Z","updated_at":"2024-12-06T09:30:49.802Z","avatar_url":"https://github.com/mdiep.png","language":"Objective-C","funding_links":[],"categories":["UI","Text","Objective-C","Objective-C  Stars 1000以内排名整理"],"sub_categories":["Layout","Other free courses","Other Testing","Keychain"],"readme":"# MMMarkdown\nMMMarkdown is an Objective-C framework for converting [Markdown][] to HTML. It is compatible with OS X 10.7+, iOS 8.0+, tvOS, and watchOS.\n\nUnlike other Markdown libraries, MMMarkdown implements an actual parser. It is not a port of the original Perl implementation and does not use regular expressions to transform the input into HTML. MMMarkdown tries to be efficient and minimize memory usage.\n\n[Markdown]: http://daringfireball.net/projects/markdown/\n\n## API\nUsing MMMarkdown is simple. The main API is a single class method:\n\n    #import \u003cMMMarkdown/MMMarkdown.h\u003e\n    \n    NSError  *error;\n    NSString *markdown   = @\"# Example\\nWhat a library!\";\n    NSString *htmlString = [MMMarkdown HTMLStringWithMarkdown:markdown error:\u0026error];\n    // Returns @\"\u003ch1\u003eExample\u003c/h1\u003e\\n\u003cp\u003eWhat a library!\u003c/p\u003e\"\n\nThe markdown string that is passed in must be non-nil.\n\nMMMarkdown also supports a number of Markdown extensions:\n\n    #import \u003cMMMarkdown/MMMarkdown.h\u003e\n    \n    NSString *markdown   = @\"~~Mistaken~~\";\n    NSString *htmlString = [MMMarkdown HTMLStringWithMarkdown:markdown extensions:MMMarkdownExtensionsGitHubFlavored error:NULL];\n    // Returns @\"\u003cp\u003e\u003cdel\u003eMistaken\u003c/del\u003e\u003c/p\u003e\"\n\n## Setup\nAdding MMMarkdown to your project is easy.\n\nIf you’d like to use [Carthage](https://github.com/Carthage/Carthage), add the following line to your `Cartfile`:\n\n```\ngithub \"mdiep/MMMarkdown\"\n```\n\nOtherwise, you can:\n\n0. Add MMMarkdown as a git submodule. (`git submodule add https://github.com/mdiep/MMMarkdown \u003cpath\u003e`)\n\n0. Add `MMMarkdown.xcodeproj` to your project or workspace\n\n0. Add `MMMarkdown.framework` to the ”Link Binary with Libraries\" section of your project's “Build Phases”.\n\n0. Add `MMMarkdown.framework` to a ”Copy Files” build phase that copies it to the `Frameworks` destination.\n\n## License\nMMMarkdown is available under the [MIT License][].\n\n[MIT License]: http://opensource.org/licenses/mit-license.php\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdiep%2FMMMarkdown","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdiep%2FMMMarkdown","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdiep%2FMMMarkdown/lists"}