{"id":19147765,"url":"https://github.com/refcell/morc","last_synced_at":"2025-10-10T11:10:47.140Z","repository":{"id":202990221,"uuid":"708401895","full_name":"refcell/morc","owner":"refcell","description":"Dead simple, minimal markdown generator library written in Rust.","archived":false,"fork":false,"pushed_at":"2023-10-22T22:49:16.000Z","size":192,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-08T15:53:32.495Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/refcell.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}},"created_at":"2023-10-22T13:12:05.000Z","updated_at":"2023-10-23T06:51:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"3b7340d4-f43e-4592-8da7-c3f20d8aee7f","html_url":"https://github.com/refcell/morc","commit_stats":null,"previous_names":["refcell/morc"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/refcell/morc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/refcell%2Fmorc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/refcell%2Fmorc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/refcell%2Fmorc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/refcell%2Fmorc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/refcell","download_url":"https://codeload.github.com/refcell/morc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/refcell%2Fmorc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279003725,"owners_count":26083610,"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-10-10T02:00:06.843Z","response_time":62,"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":[],"created_at":"2024-11-09T07:52:19.299Z","updated_at":"2025-10-10T11:10:47.125Z","avatar_url":"https://github.com/refcell.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# morc \n\n[![Build Status]][actions]\n[![License]][mit-license]\n[![Docs]][Docs-rs]\n[![Latest Version]][crates.io]\n[![rustc 1.31+]][Rust 1.31]\n\n[Build Status]: https://img.shields.io/github/actions/workflow/status/refcell/morc/ci.yml?branch=main\n[actions]: https://github.com/refcell/morc/actions?query=branch%3Amain\n[Latest Version]: https://img.shields.io/crates/v/morc.svg\n[crates.io]: https://crates.io/crates/morc\n[rustc 1.31+]: https://img.shields.io/badge/rustc_1.31+-lightgray.svg\n[Rust 1.31]: https://blog.rust-lang.org/2018/12/06/Rust-1.31-and-rust-2018.html\n[License]: https://img.shields.io/badge/license-MIT-7795AF.svg\n[mit-license]: https://github.com/refcell/morc/blob/main/LICENSE.md\n[Docs-rs]: https://docs.rs/morc/\n[Docs]: https://img.shields.io/docsrs/morc.svg?color=319e8c\u0026label=docs.rs\n\n**Dead simple, minimal markdown generator library written in Rust.** Morc is in https://github.com/refcell/morc/labels/alpha\n\n![](https://raw.githubusercontent.com/refcell/morc/main/etc/banner.png)\n\n**[Install](#usage)**\n| [User Docs](#what-is-morc)\n| [Crate Docs][crates.io]\n| [Reference][Docs-rs]\n| [Contributing](#contributing)\n| [License](#license)\n| [Attribution](#attribution)\n\n## What is morc?\n\n`morc` is a dead simple, minimal library for generating\nvalid markdown files. It was primarily built for `amble`\nbut ripped out into it's own crate to provide an extensible\nlibrary, published on [crates.io][crates.io].\n\n## Usage\n\nAdd `morc` as a dependency with cargo.\n\n```bash,ignore\ncargo add morc\n```\n\nA short example to generate markdown with `morc` is shown below.\n\n```rust\nuse morc::core::{Document, Header, Section, Validate};\n\nfn main() {\n    let doc = Document {\n        sections: vec![Box::new(Section {\n            header: Some(Header::new(1, \"Hello\".to_string())),\n            body: None,\n            subsections: vec![],\n        })],\n    };\n    assert!(doc.validate());\n}\n```\n\n## Contributing\n\nAll contributions are welcome! Experimentation is highly encouraged\nand new issues are welcome.\n\n## Troubleshooting \u0026 Bug Reports\n\nPlease check existing issues for similar bugs or\n[open an issue](https://github.com/refcell/morc/issues/new)\nif no relevant issue already exists.\n\n## Attribution\n\nMorc is built from first principles, designed from scratch with\nminimal external references. It is a sandboxed experiment in design.\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE.md).\nFree and open-source, forever.\n*All our rust are belong to you.*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frefcell%2Fmorc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frefcell%2Fmorc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frefcell%2Fmorc/lists"}