{"id":34725354,"url":"https://github.com/paste-perfect/paste-perfect","last_synced_at":"2026-05-04T12:06:02.901Z","repository":{"id":282734294,"uuid":"949489855","full_name":"paste-perfect/paste-perfect","owner":"paste-perfect","description":"Easily highlight and copy your code with HTML formatting for seamless pasting into Word, PowerPoint, or plain text.","archived":false,"fork":false,"pushed_at":"2026-04-27T11:22:11.000Z","size":26622,"stargazers_count":7,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"dev","last_synced_at":"2026-04-27T13:25:29.204Z","etag":null,"topics":["copy-paste","highlighting","prismjs","syntax","syntax-highlighting"],"latest_commit_sha":null,"homepage":"https://paste-perfect.github.io/paste-perfect/","language":"TypeScript","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/paste-perfect.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"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}},"created_at":"2025-03-16T15:25:11.000Z","updated_at":"2026-04-27T11:20:16.000Z","dependencies_parsed_at":"2025-03-16T16:37:19.752Z","dependency_job_id":"320f0a18-0c91-43a5-bd0b-da837b5bda5f","html_url":"https://github.com/paste-perfect/paste-perfect","commit_stats":null,"previous_names":["nikacc/paste-perfect","paste-perfect/paste-perfect"],"tags_count":657,"template":false,"template_full_name":null,"purl":"pkg:github/paste-perfect/paste-perfect","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paste-perfect%2Fpaste-perfect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paste-perfect%2Fpaste-perfect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paste-perfect%2Fpaste-perfect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paste-perfect%2Fpaste-perfect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/paste-perfect","download_url":"https://codeload.github.com/paste-perfect/paste-perfect/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paste-perfect%2Fpaste-perfect/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32460832,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"online","status_checked_at":"2026-04-30T02:00:05.929Z","response_time":57,"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":["copy-paste","highlighting","prismjs","syntax","syntax-highlighting"],"created_at":"2025-12-25T02:26:24.113Z","updated_at":"2026-04-30T10:06:10.434Z","avatar_url":"https://github.com/paste-perfect.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Paste Perfect\n\n\u003e Easily highlight and copy your code with HTML formatting for seamless pasting into Word, PowerPoint, or plain text. Enjoy clean, professional-looking code in just a few clicks!\n\n[![Build Status](https://img.shields.io/github/actions/workflow/status/paste-perfect/paste-perfect/build.yml?logo=github\u0026label=Build-CI)](https://github.com/paste-perfect/paste-perfect/actions/workflows/build.yml)\n[![Deploy Status](https://img.shields.io/github/actions/workflow/status/paste-perfect/paste-perfect/deploy.yml?logo=github\u0026label=Deploy-CI)](https://github.com/paste-perfect/paste-perfect/actions/workflows/deploy.yml)\n[![GitHub Stars](https://img.shields.io/github/stars/paste-perfect/paste-perfect?logo=github)](https://github.com/paste-perfect/paste-perfect/stargazers)\n\n[![Issues](https://img.shields.io/github/issues/paste-perfect/paste-perfect?label=Open%20Issues)](https://github.com/paste-perfect/paste-perfect/issues)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)\n\n## Visit Paste Perfect\n\nCheck out the [**Paste Perfect Website**](https://paste-perfect.github.io/paste-perfect/) to start with the formatting\n\nHere’s a quick look at Paste Perfect in action:\n![Paste Perfect Screenshot](highlighting-screenshots/sample-highlightings.gif)\n\n## Table of Contents\n\n- [Table of Contents](#table-of-contents)\n- [Features](#features)\n- [Usage](#usage)\n- [Project Background](#project-background)\n- [Contributing, Local Installation \u0026 Technical Details](#contributing-local-installation--technical-details)\n- [License](#license)\n\n## Features\n\n- **Seamless Copy** – Retain syntax highlighting and indentation when copying to Word or PowerPoint.\n- **Persistence** – Settings (language, theme, indentation, etc.) are remembered between sessions.\n- **Dynamic Loading** – Only load the Prism.js language definitions you actually need.\n- **Support for Different Indentation Modes** – Choose spaces, tabs, or non-breaking spaces (NBSP), depending on your target application.\n\n## Usage\n\n1. **Enter Your Code** → Paste or type your code in the **Source Code** section.\n2. **Adjust Settings** → Select:\n   - **Language** (e.g., TypeScript, Python, C++)\n   - **Theme** (various color schemes)\n   - **Indentation Mode**:\n     - **Spaces/Tabs** → Best for Word\n     - **NBSP** → Best for PowerPoint\n   - **Indentation Size**\n3. **View the Highlighted Output** → The formatted code appears in the **Result** section.\n4. **Copy with Formatting** → Click the green **Copy** button to copy your code with inline styling.\n5. **Auto-Save Preferences** → Settings persist, so you don’t need to reconfigure them next time.\n\n## Project Background\n\nI had the experience that most online syntax highlighters lose their formatting or indentation when pasted into Microsoft Word or PowerPoint. Either:\n\n- **No styling** is preserved,\n- **Indentation** is completely lost, or\n- Other formatting issues occur.\n\n**Paste Perfect** solves this by:\n\n- **Inlining styles** before copying.\n- **Replacing leading spaces/tabs with appropriate characters** to ensure indentation stays intact.\n- **Allowing customization for different applications** (Word, PowerPoint, etc.).\n\n## Contributing, Local Installation \u0026 technical details\n\nSee our [Contributing Guidelines](CONTRIBUTING.md). We appreciate your help in making Paste Perfect better!\n\n## Development Environment\n\nThe `dev` branch gets automatically pushed and deployed to GitHub Pages in a separate Repo: https://github.com/paste-perfect/paste-perfect-test\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE). Feel free to use, modify, and distribute this software as your needs require.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaste-perfect%2Fpaste-perfect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpaste-perfect%2Fpaste-perfect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaste-perfect%2Fpaste-perfect/lists"}