logicspark/vitepress-theme-api

Add better markdown support for response data, including scrollable frame

Opened this issue · 0 comments

ravut8 commented

Description

Currently, on Vitepress, the way to provide response data, it either shows all at once or collapse so users need to open the section.

Show All

::: details Collapsed Section
This is a details block.
:::

Why is this feature needed? Is there a problem that you faced?

  1. For collapse frame: It can be non user-friendly to click
  2. For expand frame: For long samples, this can make the documentation looks weird.

What is the solution you have in mind?

Add an extension to the md support to provide a scrollable frame for response data.