Skip to content

Decrease heading levels from markdown event description #1512

Open
@lukasrad02

Description

@lukasrad02

Is your feature request related to a problem? Please describe.

Event descriptions may use markdown-formatting including headings. However, level 1 and 2 headings are not allowed (I assume to ensure a consistent design with the event title already using h1) and result in the HTML tags being rendered as plain text. E.g., ## Demo becomes <h2>Demo</h2>. Users have to figure out that they can only use ### or deeper levels for their headings.

Describe the solution you'd like

Automatically increase all headings by two levels, i.e., turn # Demo into <h3>Demo</h3>. This way, people can write their markdown "naturally" while ensuring a consistent design in the platform with the event title being the largest heading.

Level 5 and 6 headings should either be rendered as plain text or highlighted by other means (e.g. <strong> or <em> tags) or rendered without formatting, as there are no h7/h8 elements.

Describe alternatives you've considered

Alternatively, make it easily discoverable (e.g. hint text below the description text box) that only level-3-headings (or deeper) may be used and render level 1 and 2 headings as plain text (without showing HTML tags).

Metadata

Metadata

Assignees

No one assigned

    Labels

    [C] enhancementChanges to an existing feature making it better[P] minorfeatures or bugs that can wait for some more time

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions