{{#if language_name}}
File language: {{language_name}}
{{/if}}
{{{document_content}}}
{{#if is_truncated}}
Note: Context around the relevant section has been truncated for brevity.
{{/if}}
Editing instructions:
1. Rewrite the section marked with tags based on this prompt:
{{{user_prompt}}}
2. Within , make changes only in these subsections:
{{#if has_insertion}}
- Insert text where marked with tags
{{/if}}
{{#if has_replacement}}
- Edit text surrounded by tags
{{/if}}
3. Section to edit:
{{{rewrite_section_with_selections}}}
4. Guidelines:
- Only make changes necessary to fulfill the prompt
- Preserve all surrounding {{content_type}}
- Maintain the original indentation level
- Rewrite the entire section, even if no changes are needed
- Do not include , , or tags in your output
Output format:
Immediately start with the following, ensuring no leading whitespace:
```{{REWRITTEN_CODE}}```