Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]How to display the code block of the folded content in markdown format when using the <details> tag #4743

Closed
penghuima opened this issue Oct 21, 2021 · 1 comment

Comments

@penghuima
Copy link

penghuima commented Oct 21, 2021

When I use the fold function

<details>
  <summary>折叠代码块</summary>
  ```bash
  echo "hello shell"
  echo "hello python"
  ```
</details>
折叠代码块 ```bash echo "hello shell" echo "hello python" ```
the display result format is different from what I wanted

image

The ideal result I want is like as follows

image

And in the process of use, there should be no spaces. If there are spaces, the result is as follows

<details>
  <summary>折叠代码块</summary>
  ```bash
  echo "hello shell"

  echo "hello python"
  ```
</details>

Display error
image

@abnerlee
Copy link
Contributor

put into #1939

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants