{"id":22589593,"url":"https://github.com/connorgray/markdown","last_synced_at":"2025-07-27T02:34:54.545Z","repository":{"id":245089331,"uuid":"519593079","full_name":"ConnorGray/Markdown","owner":"ConnorGray","description":"Markdown AST representations for Rust and Wolfram.","archived":false,"fork":false,"pushed_at":"2024-07-01T14:52:58.000Z","size":794,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-26T20:23:07.102Z","etag":null,"topics":["markdown","rust","wolfram","wolfram-language"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/ConnorGray.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","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,"zenodo":null}},"created_at":"2022-07-30T18:33:08.000Z","updated_at":"2025-01-11T21:23:35.000Z","dependencies_parsed_at":"2024-06-19T19:02:39.338Z","dependency_job_id":"ba34987b-d812-4333-abab-75f7bdc09cc3","html_url":"https://github.com/ConnorGray/Markdown","commit_stats":null,"previous_names":["connorgray/markdown"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/ConnorGray/Markdown","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConnorGray%2FMarkdown","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConnorGray%2FMarkdown/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConnorGray%2FMarkdown/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConnorGray%2FMarkdown/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ConnorGray","download_url":"https://codeload.github.com/ConnorGray/Markdown/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConnorGray%2FMarkdown/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267289436,"owners_count":24064728,"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-07-27T02:00:11.917Z","response_time":82,"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","rust","wolfram","wolfram-language"],"created_at":"2024-12-08T08:14:08.223Z","updated_at":"2025-07-27T02:34:54.520Z","avatar_url":"https://github.com/ConnorGray.png","language":"Rust","readme":"# Markdown\n\n[![Crates.io](https://img.shields.io/crates/v/markdown-ast.svg)](https://crates.io/crates/markdown-ast)\n![License](https://img.shields.io/crates/l/markdown-ast.svg)\n[![Documentation](https://docs.rs/markdown-ast/badge.svg)](https://docs.rs/markdown-ast)\n\n#### [API Documentation](https://docs.rs/markdown-ast) | [Changelog](./docs/CHANGELOG-markdown-ast.md) | [Contributing](#contributing)\n\nThis repository contains two projects for working with Markdown\ndocuments:\n\n* [`markdown-ast`](https://crates.io/crates/markdown-ast)\n  — a Rust crate modeling Markdown syntax as an AST.\n\n* `ConnorGray/Markdown` — a Wolfram paclet providing a\n  symbolic representation of Markdown elements, and (**TODO**) notebook frontend\n  support for opening and editing .md files.\n\n## Quick Examples\n\nParse a Markdown document into an AST in Rust:\n\n```rust\nuse markdown_ast::{markdown_to_ast, Block, Inline, Inlines};\n\nlet ast = markdown_to_ast(\"\nHello! This is a paragraph **with bold text**.\n\");\n\nassert_eq!(ast, vec![\n    Block::Paragraph(Inlines(vec![\n        Inline::Text(\"Hello! This is a paragraph \".to_owned()),\n        Inline::Strong(Inlines(vec![\n            Inline::Text(\"with bold text\".to_owned()),\n        ])),\n        Inline::Text(\".\".to_owned())\n    ]))\n]);\n```\n\n## File Overview\n\n* [`./crates/markdown-ast`](./crates/markdown-ast/): source code for the\n  general-purpose `markdown-ast` crate.\n\n* [`./paclets/Markdown/`](./Markdown/): source code for the\n  `ConnorGray/Markdown` paclet.\n\n* [`./crates/md2nb/`](./crates/md2nb): source code for the\n  [`md2nb`](https://crates.io/crates/md2nb) command-line utility.\n\n* [`./crates/wolfram-markdown-link`](./crates/wolfram-markdown-link/): source\n  code for the LibraryLink library used by the Markdown paclet.\n\n* [`third-party/commonmark-spec/`](./third-party/): git submodule of the\n  [commonmark-spec](https://github.com/commonmark/commonmark-spec/) repository.\n  Used by the `markdown-ast` conformance tests.\n\n## License\n\nLicensed under either of\n\n* Apache License, Version 2.0\n  ([LICENSE-APACHE](./LICENSE-APACHE) or \u003chttp://www.apache.org/licenses/LICENSE-2.0\u003e)\n\n* MIT license\n  ([LICENSE-MIT](./LICENSE-MIT) or \u003chttp://opensource.org/licenses/MIT\u003e)\n\nat your option.\n\n## Contributing\n\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in the work by you, as defined in the Apache-2.0 license, shall be\ndual licensed as above, without any additional terms or conditions.\n\n### Developer Notes\n\nSee [**Development.md**](./docs/Development.md) for instructions on how to\nperform common development tasks when contributing to this repository.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconnorgray%2Fmarkdown","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconnorgray%2Fmarkdown","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconnorgray%2Fmarkdown/lists"}