Skip to content

Summary Escaping Broken #17383

Description

@strawgate

The ./actions/setup/md/markdown.md looks like this

<markdown-generation>
<instruction>When generating markdown text, use 4 backticks instead of 3 to avoid creating unbalanced code regions where the text looks broken because the code regions are opening and closing out of sync. Use GitHub Flavored Markdown.</instruction>
<example>
<correct>
````markdown
# Example
```javascript
console.log('hello');
```
````
</correct>
<incorrect>
```markdown
# Example
```javascript
console.log('hello');
```
```
</incorrect>
</example>
</markdown-generation>

I believe that the first triple backtick after the last console.log('hello'); closes the entire block and then that leaves a stray hanging ```

Image

which results in broken summary formatting

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions