pingdotgg / pingdotgg/t3code

iOS: Add “Copy raw text” action for linked files

Open
#11,781 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement via-triage
Dominant language
TypeScript
Stars
23k
Forks
5.9k
Avg merge
11h 14m
Merged PRs (30d)
357

Description

Feature request

On iOS, linked files currently expose actions like Preview, Source, and Copy path. It would be very useful to also have a simple Copy raw text action.

The key behavior is that this should copy the file's actual source contents, not the rendered preview text.

For example, for a Markdown file, copying raw text should preserve Markdown syntax such as:

# Heading

- item
- **bold**
- `code`

[link](https://example.com)

rather than copying only the visually rendered text.

This would make it much easier to move file contents from T3 Code on iOS into another app, message, prompt, note, etc. without opening Source and manually selecting everything.

Suggested UX

Add a Copy raw text item to the linked-file context/menu alongside Preview, Source, and Copy path.

For plain-text/source files, it should copy the exact file contents to the clipboard. For Markdown specifically, that means preserving all Markdown formatting characters.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the iOS linked-file context menu, alongside the existing Preview, Source, and Copy path actions. Trace how the file's source contents are retrieved and how clipboard actions are handled. Done means Copy raw text is available for linked files and preserves exact source contents, including Markdown syntax, rather than rendered preview text.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
mobile
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.