{"id":21162641,"url":"https://github.com/ytbryan/mdrb","last_synced_at":"2026-05-09T05:34:21.824Z","repository":{"id":56883120,"uuid":"317099291","full_name":"ytbryan/mdrb","owner":"ytbryan","description":"Create and manage multiple markdown documents easily. ","archived":false,"fork":false,"pushed_at":"2020-12-01T06:28:23.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-12T13:17:50.682Z","etag":null,"topics":["markdown","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/ytbryan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-11-30T03:21:13.000Z","updated_at":"2020-12-01T06:37:56.000Z","dependencies_parsed_at":"2022-08-20T22:31:04.298Z","dependency_job_id":null,"html_url":"https://github.com/ytbryan/mdrb","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ytbryan/mdrb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ytbryan%2Fmdrb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ytbryan%2Fmdrb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ytbryan%2Fmdrb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ytbryan%2Fmdrb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ytbryan","download_url":"https://codeload.github.com/ytbryan/mdrb/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ytbryan%2Fmdrb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32808533,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"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":["markdown","ruby"],"created_at":"2024-11-20T13:31:52.131Z","updated_at":"2026-05-09T05:34:21.799Z","avatar_url":"https://github.com/ytbryan.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# md.rb\n\nCreate and manage multiple markdown documents easily.\n\nSome of the key features are:\n\n0. Having a simple syntax and api\n1. Generate, read, update and delete multiple markdown\n2. Get json from markdown\n\n# Install\n\n```\ngem install mdrb\n```\n\n```ruby\nrequire 'mdrb'\n```\n\n# usage\n\nCreate markdown\n\n```ruby\nMD.create(\"first\", \"# Hello\") #first.md\nMD.create(\"first document\", \"# Hello\") #first-document.md\n```\n\nCreate multiple markdown\n\n```ruby\nMD.create_many([\"first\",\"second\"], [\"# first\",\"# second\"]) #first.md second.md\n\nMD.create_many([\"first document\",\"second document\"], [\"# first\",\"# second\"]) #first-document.md second.md\n\n```\n\nGet json from markdown\n\n```ruby\nMD.create(\"first\", \"# first\")\nputs json = MD.to_json(\"first\")\n```\n\nUpdate markdown\n\n```ruby\nMD.update(path, content)\nMD.update_on(which_line, path, content)\nMD.update_many()\n```\n\nDelete markdown\n\n```ruby\nMD.create_many([\"first\",\"second\"], [\"# first\", \"# second\"])\nMD.delete(\"first\")\nMD.delete_many([\"first\", \"second\"])\n```\n\nRead markdown\n\n```ruby\nMD.read()\nMD.read_many()\n```\n\n# Testing\n\nrspec\n\n# license\n\nMIT | ytbryan@hey.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fytbryan%2Fmdrb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fytbryan%2Fmdrb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fytbryan%2Fmdrb/lists"}