{"id":21569362,"url":"https://github.com/aweirddev/md0","last_synced_at":"2025-03-18T05:45:03.369Z","repository":{"id":259719574,"uuid":"879225090","full_name":"AWeirdDev/md0","owner":"AWeirdDev","description":"markdown3","archived":false,"fork":false,"pushed_at":"2024-10-27T14:32:50.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-24T12:32:28.979Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AWeirdDev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-27T10:54:34.000Z","updated_at":"2024-11-21T05:32:51.000Z","dependencies_parsed_at":"2024-10-27T15:24:01.929Z","dependency_job_id":"17b1888e-5932-460a-94f0-812ccd2ba76e","html_url":"https://github.com/AWeirdDev/md0","commit_stats":null,"previous_names":["aweirddev/md0"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AWeirdDev%2Fmd0","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AWeirdDev%2Fmd0/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AWeirdDev%2Fmd0/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AWeirdDev%2Fmd0/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AWeirdDev","download_url":"https://codeload.github.com/AWeirdDev/md0/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244166676,"owners_count":20409178,"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":[],"created_at":"2024-11-24T11:09:16.930Z","updated_at":"2025-03-18T05:45:03.337Z","avatar_url":"https://github.com/AWeirdDev.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# md0\n\n[![unsafe forbidden](https://img.shields.io/badge/unsafe-forbidden-success.svg)](https://github.com/rust-secure-code/safety-dance/)\n\nSomehow correct Markdown parser.\n\n```python\nimport md0\n\nMARKDOWN: str = \"\"\"\\\n# Docs\nHello, everyone! This document is just crazy!\nThis doesn't become a new paragraph, but rather joined to the previous line with a space.\n\nCrazy, right? You can also use code blocks:\n```python\n# Fibonacci sequence!\ndef fib_n(n: int) -\u003e int:\n    return 1 if n \u003c= 1 else fib_n(n - 1) + fib_n(n - 2)\n\nprint(fib_n(2))\n```\"\"\"\n\nmd0.parse(MARKDOWN)\n# [\n#     Heading(1, \"Docs\"),\n#     Paragraph(\n#         \"Hello, everyone! This document is just crazy! This doesn't become a new paragraph, but rather joined to the previous line with a space.\"\n#     ),\n#     Paragraph(\"Crazy, right? You can also use code blocks:\"),\n#     Code(\n#         \"python\",\n#         \"# Fibonacci sequence!\\ndef fib_n(n: int) -\u003e int:\\n    return 1 if n \u003c= 1 else fib_n(n - 1) + fib_n(n - 2)\\n\\nprint(fib_n(2))\\n\",\n#     ),\n# ]\n```\n\nLinks are attached to `metadata`, so I could save some computation resources lmfao. Don't blame me. PyO3 says it wants `#[derive(Clone)]` which is very inappropriate (but I did it anyways).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faweirddev%2Fmd0","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faweirddev%2Fmd0","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faweirddev%2Fmd0/lists"}