{"id":32740217,"url":"https://github.com/xero/mdv","last_synced_at":"2026-05-12T23:36:19.913Z","repository":{"id":320332127,"uuid":"1081671511","full_name":"xero/mdv","owner":"xero","description":"web based markdown viewer","archived":false,"fork":false,"pushed_at":"2025-10-28T00:04:25.000Z","size":692,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-03T10:01:54.399Z","etag":null,"topics":["codemirror-editor","codemirror6","editor","filesystem","localstorage","markdown","splitscreen","webbased","website"],"latest_commit_sha":null,"homepage":"https://xero.github.io/mdv/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xero.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["xero"],"custom":["https://support.x-e.ro"]}},"created_at":"2025-10-23T05:54:05.000Z","updated_at":"2025-10-23T07:33:09.000Z","dependencies_parsed_at":"2025-10-23T08:28:16.930Z","dependency_job_id":"ac116cfd-fc39-47b1-81db-bbe1842ea9f7","html_url":"https://github.com/xero/mdv","commit_stats":null,"previous_names":["xero/mdv"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/xero/mdv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xero%2Fmdv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xero%2Fmdv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xero%2Fmdv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xero%2Fmdv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xero","download_url":"https://codeload.github.com/xero/mdv/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xero%2Fmdv/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32961785,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-12T23:30:32.555Z","status":"ssl_error","status_checked_at":"2026-05-12T23:30:18.191Z","response_time":102,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["codemirror-editor","codemirror6","editor","filesystem","localstorage","markdown","splitscreen","webbased","website"],"created_at":"2025-11-03T10:01:05.653Z","updated_at":"2026-05-12T23:36:19.908Z","avatar_url":"https://github.com/xero.png","language":"JavaScript","funding_links":["https://github.com/sponsors/xero","https://support.x-e.ro"],"categories":[],"sub_categories":[],"readme":"# mdv\n\n**MarkDown View** a real-time markdown editor with split screen live preview\n\n![dark mode preview](https://raw.githubusercontent.com/xero/mdv/preview/mdv-dark.png)\n![light mode preview](https://raw.githubusercontent.com/xero/mdv/preview/mdv-light.png)\n\n## Demo: [https://xero.github.io/mdv/](https://xero.github.io/mdv/)\n\n## Features\n\n- **Split-screen layout**: Editor on the left, preview on the right\n- **Resizable**: Drag the center divider to resize the panels\n- **Live preview**: See your markdown rendered in real-time as you type\n- **Syntax highlighting**: CodeMirror with markdown language support\n- **Dark mode support**: Adapts to system color preferences\n- **Github flavored markdown**: Headers, lists, code blocks, tables, links, images, and more\n- **Full Screen**: Zen mode for markdown editing\n- **Local storage**: Markdown contents automatically sync to your browser storage\n- **File operation**: Open and save documents to your device\n- **Completely in browser**: Everything is client side and never leaves your device\n\n## Toolchain\n\n- [Bun.js](https://bun.sh/) - Fast JavaScript runtime and package manager\n- [Vite](https://vitejs.dev/) - Next generation frontend tooling\n- [CodeMirror 6](https://codemirror.net/) - Extensible code editor\n- [ShowDown](https://github.com/showdownjs/showdown) - Markdown parser and compiler\n\n## Getting Started\n\n### Prerequisites\n\n- [Bun](https://bun.com) installed on your system\n\n### Installation\n\n```bash\n# Install dependencies\nbun i\n```\n\n### Development\n\n```bash\n# Start the development server\nbun dev\n```\n\nOpen your browser and navigate to `http://localhost:5173/`\n\n### Code Quality\n\n```bash\n# Format and lint\nbun fix\n```\n\n### Build\n\n```bash\n# Build for production\nbun bake\n```\n\nThe built files will be in the `dist/` directory.\n\n### Preview Production Build\n\n```bash\n# Preview the production build locally\nbun preview\n```\n\n## Usage\n\n1. Start typing markdown in the left editor panel\n2. See the rendered output in real-time on the right preview panel\n3. The editor supports all standard markdown syntax, and \"github flavored markdown\"\n4. Drag the split divider to reize the panels\n\n# License\n\n![kopimi logo](https://gist.githubusercontent.com/xero/cbcd5c38b695004c848b73e5c1c0c779/raw/6b32899b0af238b17383d7a878a69a076139e72d/kopimi-sm.png)\n\nall files and scripts in this repo are released [CC0](https://creativecommons.org/publicdomain/zero/1.0/) / [kopimi](https://kopimi.com)! in the spirit of _freedom of information_, i encourage you to fork, modify, change, share, or do whatever you like with this project! `^c^v`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxero%2Fmdv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxero%2Fmdv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxero%2Fmdv/lists"}