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

New Feature : Support details/summary tag #399

Closed
kukushi opened this issue Nov 2, 2016 · 7 comments
Closed

New Feature : Support details/summary tag #399

kukushi opened this issue Nov 2, 2016 · 7 comments

Comments

@kukushi
Copy link

kukushi commented Nov 2, 2016

Many README files use details/summary tag to provide additional information.

<details>

<summary>Title</summary>

Hidden Content

</details>

It would be great if Typora support using it.

@GiggleLiu
Copy link

+1, This feature will be great!

@Piping
Copy link

Piping commented Jun 28, 2018

+1, Please add this feature!

@abnerlee
Copy link
Contributor

it is now supported. Not no empty line inside the HTML Block is allowed.

So you could use

<details>
<summary>Title</summary>
Hidden Content
</details>

In Typora's new release

@infalmo
Copy link

infalmo commented Oct 24, 2019

Could

[details="Summary"]
[/details]

be supported?

@abnerlee
Copy link
Contributor

abnerlee commented Dec 26, 2019

same with #1581

[details="Summary"]

looks like BBCode rather than Markdown, Typora will only support markdown syntax

@macolo
Copy link

macolo commented Mar 26, 2020

this doesnt appear to be working when images are inside the details tag

<details>
<summary>image</summary>
![](img/add-new-environment-in-pycharm.png)
</details>

doesnt render the image in preview.

This works though:

<details>
<summary>image</summary>
<img src="img/add-new-environment-in-pycharm.png"/>
</details>

@abnerlee
Copy link
Contributor

It's now discussed in #1581 and #1939

@typora typora locked as too heated and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants