Skip to content

Search is only available in production builds. Try building and previewing the site to test it out locally.

Fool's Print

This prompt is designed to teach you how to print to the console in FoolScript.

Setup

In the .github/prompts folder of your project, add a new file called fools-print.prompt.md.

Usage

Example that will use the current language:

Terminal window
#file:fools-print.prompt.md

Example that will use Python:

Terminal window
#file:fools-print.prompt.md Python

Prompt

Provide a quick outline on how to print to the console in the current language. Include the following if they apply:
## Single line examples
## Multi-line examples
## Interpolation of variables into the output
Begin your response with an empty markdown block. Add 3 backticks (```) before the response. For example:
```markdown
```
Response...