# Share prompts and text files for class

Written by Geeta Thakker
Updated 2026-10-04

Post reusable class prompts in **#prompts**. The run's assigned instructors and admins can start messages there; students can read, copy, react, and reply in threads. The channel remains restricted even if you rename it.

## Publish a copyable prompt

Write the text students should use, with the task, context, and expected result. Explain any placeholders they must replace. Send it from #prompts and ask students to select **Copy prompt** on the card.

Prompts receive a class-day tag automatically, based on the most recent scheduled day that has started, or the first day before teaching begins. Name the intended exercise in your text if you are preparing material for a different day.

## Share code clearly

The prompts channel detects text that looks like code, including common scripts, commands, and configuration. Detected code appears as a code card with **Copy code**. You can also use triple backticks to explicitly format a code block.

Review the rendered result before directing students to copy it. Detection is a formatting aid, so explain where the example belongs and what students should change.

## Import a plain-text file

1. Select **Add a .txt file** in the message box.
2. Choose a UTF-8 `.txt` file of up to **64 KB** and **16,000 characters**.
3. Wait for the checks, then review the imported text in the composer.
4. Add any explanation and send the message.

The file's text is inserted into the draft; the original file is not stored as a downloadable attachment. The same text import is available in other classroom channels and thread replies where you can post.

Checks reject unsupported or binary files and certain unsafe links or commands. If a file is rejected, follow the displayed reason and correct the source text. These checks are not a guarantee that every instruction is safe to run.

## Handle student questions and review

Students can describe a prompt problem in **#doubts** or reply in its thread. Ask them to include the intended result and what happened instead.

Text imported from a file by a member waits for instructor or moderator approval, as do member links outside explainx. See [Moderate classroom messages](/help/articles/moderate-classroom-messages) for the Review panel and [Post classroom messages and replies](/help/articles/post-classroom-messages) for code blocks and tags.
