{"id":16647135,"url":"https://github.com/michaelrsweet/mmd","last_synced_at":"2025-03-23T14:31:25.337Z","repository":{"id":143286295,"uuid":"87770529","full_name":"michaelrsweet/mmd","owner":"michaelrsweet","description":"Miniature markdown library","archived":false,"fork":false,"pushed_at":"2025-01-24T19:41:30.000Z","size":344,"stargazers_count":22,"open_issues_count":2,"forks_count":5,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-18T21:13:06.719Z","etag":null,"topics":["c","markdown"],"latest_commit_sha":null,"homepage":"https://www.msweet.org/mmd","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/michaelrsweet.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"michaelrsweet","liberapay":"michaelrsweet"}},"created_at":"2017-04-10T05:36:40.000Z","updated_at":"2025-02-18T00:39:31.000Z","dependencies_parsed_at":"2024-10-28T16:24:24.027Z","dependency_job_id":"9034d6b4-e06c-4b62-b828-170104f3985b","html_url":"https://github.com/michaelrsweet/mmd","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelrsweet%2Fmmd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelrsweet%2Fmmd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelrsweet%2Fmmd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelrsweet%2Fmmd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/michaelrsweet","download_url":"https://codeload.github.com/michaelrsweet/mmd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245115834,"owners_count":20563245,"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","markdown"],"created_at":"2024-10-12T08:43:56.757Z","updated_at":"2025-03-23T14:31:25.323Z","avatar_url":"https://github.com/michaelrsweet.png","language":"C","funding_links":["https://github.com/sponsors/michaelrsweet","https://liberapay.com/michaelrsweet"],"categories":[],"sub_categories":[],"readme":"mmd - Miniature Markdown Library\n================================\n\n![Version](https://img.shields.io/github/v/release/michaelrsweet/mmd?include_prereleases)\n![Apache 2.0](https://img.shields.io/github/license/michaelrsweet/mmd)\n![Build Status](https://img.shields.io/github/actions/workflow/status/michaelrsweet/mmd/build.yml?branch=master)\n![Coverity Scan Status](https://img.shields.io/coverity/scan/22387.svg)\n\n`mmd` is a miniature markdown parsing \"library\" consisting of a single C source\nfile and accompanying header file.  `mmd` mostly conforms to the [CommonMark][]\nversion of markdown syntax with the following exceptions:\n\n- Embedded HTML markup and entities are explicitly not supported or allowed;\n  the reason for this is to better support different kinds of output from the\n  markdown \"source\", including XHTML, man, and `xml2rfc`.\n\n- Tabs are silently expanded to the markdown standard of four spaces since HTML\n  uses eight spaces per tab.\n\n- Some pathological nested link and inline style features supported by\n  CommonMark (`******Really Strong Text******`) are not supported by `mmd`.\n\nIn addition, `mmd` supports a couple (otherwise undocumented) markdown\nextensions:\n\n- Metadata as used by Jekyll and other web markdown solutions.\n\n- \"@\" links which resolve to headings within the file.\n\n- Tables and task lists as used by the [Github Flavored Markdown Spec][GFM].\n\n`mmd` also includes a standalone utility called `mmdutil` that can be used to\ngenerate HTML and man page source from markdown.\n\nI'm providing `mmd` as open source under the Apache License Version 2.0 with\nexceptions for use with GPL2/LGPL2 applications which allows you do pretty much\ndo whatever you like with it.  Please do provide feedback and report bugs to the\nGithub project page at \u003chttps://www.msweet.org/mmd\u003e so that everyone can\nbenefit.\n\n[CommonMark]: https://spec.commonmark.org\n[GFM]: https://github.github.com/gfm\n\n\nRequirements\n------------\n\nYou'll need a C compiler.\n\n\nHow to Incorporate in Your Project\n----------------------------------\n\nAdd the `mmd.c` and `mmd.h` files to your project.  Include the `mmd.h`\nheader in any file that needs to read/convert markdown files.\n\n\n\"Kicking the Tires\"\n-------------------\n\nThe supplied makefile allows you to build the unit tests on Linux and macOS (at\nleast), which verify that all of the functions work as expected to produce a\nHTML file called `testmmd.html`:\n\n    make test\n\nThe makefile also builds the `mmdutil` program.\n\n\nInstalling `mmdutil`\n--------------------\n\nYou can install the `mmdutil` program by copying it to somewhere appropriate or\nrun:\n\n    make install\n\nto install it in `/usr/local` along with a man page.\n\n\nLegal Stuff\n-----------\n\nCopyright © 2017-2025 by Michael R Sweet.\n\nmmd is licensed under the Apache License Version 2.0 with an (optional)\nexception to allow linking against GPL2/LGPL2-only software.  See the files\n\"LICENSE\" and \"NOTICE\" for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaelrsweet%2Fmmd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmichaelrsweet%2Fmmd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaelrsweet%2Fmmd/lists"}