Skip to content

Markdown inside < details markdown="1" >< summary >.. does not work (Bold, ListItem) #669

@k3b

Description

@k3b

Describe the bug A clear and concise description of what the bug is.

I have a markdown file with < details markdown="1" >< summary > ... that contains markdown inside.

When html-Rendering this the markdown inside the block is not interpreted.

Note: this Github page has the same problem.

Example

<details markdown="1"><summary> **AUFRUFBARE ACTIVITIES** </summary>
* **Bluetooth**  (com.android.bluetooth - com.android.bluetooth.opp.BluetoothOppLauncherActivity)
* **Kalender**  (com.android.calendar - com.android.calendar.event.EditEventShareActivity)
</details>

Click on the arrow before AUFRUFBARE ACTIVITIES to see what is happening:

**AUFRUFBARE ACTIVITIES** * **Bluetooth** (com.android.bluetooth - com.android.bluetooth.opp.BluetoothOppLauncherActivity) * **Kalender** (com.android.calendar - com.android.calendar.event.EditEventShareActivity)

I would expect to see list items and bold text inside like this

**AUFRUFBARE ACTIVITIES**
* **Bluetooth**  (com.android.bluetooth - com.android.bluetooth.opp.BluetoothOppLauncherActivity)
* **Kalender**  (com.android.calendar - com.android.calendar.event.EditEventShareActivity)

AUFRUFBARE ACTIVITIES

  • Bluetooth (com.android.bluetooth - com.android.bluetooth.opp.BluetoothOppLauncherActivity)
  • Kalender (com.android.calendar - com.android.calendar.event.EditEventShareActivity)

I discovered this in Android app markor that uses this library

see gsantner/markor#2789

Additional context Add any other context about the problem here.

My goal is to create a markdown formatted repoport in k3b/intent-intercept#41

Please provide as much information about where the bug is located or what you were using:

  • Parser
  • [*] HtmlRenderer
  • Formatter
  • FlexmarkHtmlParser
  • DocxRenderer
  • PdfConverterExtension
  • extension(s)

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