{"id":28307145,"url":"https://github.com/atahanyorganci/nb2md","last_synced_at":"2026-04-09T08:40:59.558Z","repository":{"id":62422630,"uuid":"476477511","full_name":"atahanyorganci/nb2md","owner":"atahanyorganci","description":"Convert Jupyter notebooks to markdown","archived":false,"fork":false,"pushed_at":"2022-04-01T21:06:44.000Z","size":9,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-31T15:49:25.941Z","etag":null,"topics":["converter","deno","jupyter","jupyter-notebook","markdown"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/atahanyorganci.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-03-31T21:02:34.000Z","updated_at":"2025-05-19T05:54:45.000Z","dependencies_parsed_at":"2022-11-01T17:32:06.983Z","dependency_job_id":null,"html_url":"https://github.com/atahanyorganci/nb2md","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/atahanyorganci/nb2md","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atahanyorganci%2Fnb2md","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atahanyorganci%2Fnb2md/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atahanyorganci%2Fnb2md/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atahanyorganci%2Fnb2md/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atahanyorganci","download_url":"https://codeload.github.com/atahanyorganci/nb2md/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atahanyorganci%2Fnb2md/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260944431,"owners_count":23086807,"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":["converter","deno","jupyter","jupyter-notebook","markdown"],"created_at":"2025-05-24T05:11:11.338Z","updated_at":"2026-04-09T08:40:59.553Z","avatar_url":"https://github.com/atahanyorganci.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nb2md\n\n[![deno module](https://shield.deno.dev/x/nb2md)](https://deno.land/x/nb2md)\n![deno compatibility](https://shield.deno.dev/deno/^1.20)\n\nConvert Jupyter notebooks to markdown\n\n## Installation\n\n```\ndeno install --allow-read --allow-write https://deno.land/x/init@v0.1.0/mod.ts\n```\n\n## Features\n\n- Convert markdown cells into prose\n- Based on notebook language convert code cells into fenced code blocks\n- Convert `STDOUT` and `STDERR` into verbatim text\n- Handle execute output\n  - `image/png` base64 encoded PNGs are decoded and save to image dir\n  - `text/html` HTML produced by `pandas.DataFrame` is converted into markdown tables\n  - `text/plain` is directly appended to output document\n  - `application/json` is embedded into output document as JSON fenced code blocks\n\n## Usage\n\nConvert a Jupyter notebook v4 into markdown\n\n```shell\n$ nb2md notebook.ipynb -o notebook.md\n```\n\nSkip output of code cells, default `false`\n```shell\n$ nb2md notebook.ipynb -o notebook.md --skip-output\n```\n\nCustomize image directory, default `images`\n```shell\n$ nb2md notebook.ipynb -o notebook.md --image-dir img\n```\n\n## Options\n\n- `--help` or `-h` will print the CLI documentation to the terminal.\n- `--version` or `-v` will print the version number to the terminal\n- `--output` or `-o` path to output file, **required**\n- `--skip-output` skip code cell output, default `fasle`\n- `--image-dir` path to the image directory, default `'images'`\n\n## Contributing\n\nYou are welcome to report any bugs, other issues, or feature requests! If you want to add a fix/feature/other improvement fork this repository and make a pull request with your changes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatahanyorganci%2Fnb2md","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatahanyorganci%2Fnb2md","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatahanyorganci%2Fnb2md/lists"}