Share prompts and text files for class
Publish copyable prompts or code in #prompts and import checked plain-text files into the classroom composer.
In this article
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
- Select Add a .txt file in the message box.
- Choose a UTF-8
.txtfile of up to 64 KB and 16,000 characters. - Wait for the checks, then review the imported text in the composer.
- 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 for the Review panel and Post classroom messages and replies for code blocks and tags.
Questions about this guide
Ask a question about this guide or share something useful. Keep personal details private.
Loading comments…