Skip to content

[FEATURE_REQUEST] Support for single-space indentations with markdown #2176

Closed
@SSJGabraham

Description

@SSJGabraham

Have you searched for similar requests?

Yes

Is your feature request related to a problem? If so, please describe.

No response

Describe the solution you'd like

Add the ability for single-line indentations with bullets (and anything that can be indented in the same way) to be recognized by the UI and rendered properly.

Example

This text:

- bullet 1
 - bullet 2
   - bullet 3

should result in:

  • bullet 1
    • bullet 2
      • bullet 3

At the moment, it displays like this:

  • bullet 1
  • bullet 2
  • bullet 3

Describe alternatives you've considered

Naturally it's not so much of an issue if the user is utilizing markdown as they can just use the supported 4-space indentation, but the AI itself might decide to use single-line indentations all on its own with the intent of them rendering as desired above, likely from being fed data where this version of markdown is used, so the result is that the intended indentations are not shown and the data presented is not organized as the AI intended.

Additional context

I spoke with @LenAnderson regarding this issue who recommended including these two lines in script.js:
image

However, he recently pointed out that this screws up the greeting page:
It does not screw up the greeting page, I misunderstood.

If this change cannot be filtered in some way to only apply to certain text, this might have destructive ramifications in many parts of the UI, so it would likely need to be tested thoroughly.

Priority

Low (Nice-to-have)

Are you willing to test this on staging/unstable branch if this is implemented?

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    🦄 Feature Request[ISSUE] Suggestion for new feature, update or change

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions