MarkdownViewerPlusPlus icon indicating copy to clipboard operation
MarkdownViewerPlusPlus copied to clipboard

Add support for collapsible details sections

Open TryCatch22 opened this issue 2 years ago • 2 comments

Issue description

GitHub's built-in markdown renderer (as used for many README.md files) supports collapsible details sections. Can we have that same support implemented in MarkdownViewer++?

Markdown to reproduce

<details>
    <summary>Click me for more details</summary>

    Here is a more detailed explanation, hidden in this collapsible section.

</details>

Environment

  • Notepad++ 8.4.8 (x64)
  • MarkdownViewer++ 0.8.2
  • Windows 10 (x64)

TryCatch22 avatar Jun 02 '23 18:06 TryCatch22

Here is a working example: https://gist.github.com/pierrejoubert73/902cc94d79424356a8d20be2b382e1ab

TryCatch22 avatar Jun 02 '23 18:06 TryCatch22

As a workaround, if you have VSCode installed, you can view your markdown files with extension vscode-markdown-pdf.

DGrothe-PhD avatar May 07 '24 09:05 DGrothe-PhD