discord-api-docs icon indicating copy to clipboard operation
discord-api-docs copied to clipboard

Discovery expanded description markdown inconsistencies

Open The-LukeZ opened this issue 2 months ago • 3 comments

Description

When writing markdown, the parsing is not how it should be. Specifically, when writing a bold line and a list afterwards. The preview might be correct, but the rendering in the application discovery isn't.

Steps to Reproduce

Write the following markdown in the long description of the bot:

**Something bold:**
<!-- an empty line here is optional, but doesn't help -->
- list item 1
- list item 2
- list item 3

Expected Behavior

It should render as

Something bold:

  • list item 1
  • list item 2
  • list item 3

Current Behavior

It renders as

Something bold: - list item 1 - list item 2 - list item 3

Screenshots/Videos

Image

turns to Image

Client and System Information

Browser: Brave OS: Mac OS Tahoe 26.0.1 (or however that thing is spelled)

The-LukeZ avatar Nov 05 '25 10:11 The-LukeZ

I am struggling to reproduce this

Here is my setup:

In the Developer Portal Image

Rendered in AppDirectory Image

I will say that it would be better if the list didn't render with lots of extra indentation, but i cannot reproduce the bug you're showing

DV8FromTheWorld avatar Nov 05 '25 15:11 DV8FromTheWorld

Ah. I was able to reproduce. The problem was that your reproduction led me astray 😆

In particular, this renders correctly:

**Something bold:**

- list item 1
- list item 2
- list item 3

but THIS does not!

**Something bold:**
- list item 1
- list item 2
- list item 3

DV8FromTheWorld avatar Nov 05 '25 15:11 DV8FromTheWorld

@DV8FromTheWorld Ah yeah that makes sense. Somehow, after I updated my bot's expanded description it wasn't updated. I guess due to caching or something.

The-LukeZ avatar Nov 06 '25 14:11 The-LukeZ