continue icon indicating copy to clipboard operation
continue copied to clipboard

[Bug] Prompts Fail to Render Highlighted Code Blocks

Open nomagicln opened this issue 6 months ago • 4 comments

Before submitting your bug report

Relevant environment info

- OS: Linux, but possibly operating system agnostic 
- Continue version: 1.1.26
- IDE version: VSCode 1.99.3
- Model: QwQ:32b
- config:
  

  
  OR link to assistant in Continue hub:

- prompts:
  
Name: Write Function Comment
description: Generate function comment according the function content
version: 1
---
<system>
  You are expert in coding and architecture
</system>

<responsibility>
  Write comments according to the specified format
</responsibility>

<format>
    <function-comment-format>
    // Function name: Summary of function purpose
    //
    // Business purpose:
    //  1. Business purpose 1
    //  2. Business purpose 2
    //  ...
    //
    // Parameters:
    //   - Input 1: Description of input 1
    //   - Input 2: Description of input 2
    //   ...
    //
    // Process:
    //  1. Key step 1
    //  2. Key step 2
    //  3. Key step 3
    //  ...
    //
    // Returns:
    //   - Return type: Description of return value
    //   ...
    </function-comment-format>
</format>

<input>
{{{ input }}}
</input>

Description

I think **continue ** should provide a way to pass the user input or highlighted code into prompt

To reproduce

No response

Log output


nomagicln avatar Apr 25 '25 07:04 nomagicln