Skip to content

Also need to escape embedding expressions within template literals #6

@sirosenf

Description

@sirosenf

Thanks for putting this together!

You'll need to escape embedded expressions within code blocks.

ex: ${} becomes \${}

Example:

\`\`\`javascript

async function main() {
  try {
// your code here
  } catch (error) {
    console.error(\`Error: \${error.message}\`);
    throw error; // Re-throw to ensure error is captured by the system
  }
}
main();
\`\`\`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions