how to add drop down menu in README file

Shashikala Hansamail February 21, 2021

How to add a drop-down menu for the README file.what is the code for that

1 answer

1 accepted

0 votes
Answer accepted
Ashwini_More _miniOrange February 21, 2021

Hi Shashikala,

Please refer to the below code for adding a dropdown menu in readme file.

<details>
<summary>Dropdown Heading</summary>
<br>
Choice 1
<br> Choice 2
<br> Choice 2
<br> </details>
Shashikala Hansamail February 21, 2021

thank you @Ashwini_More _miniOrange,

but it does not work. are there any tags before type your code

Ashwini_More _miniOrange February 21, 2021

Hi Shashikala,

Sorry to hear that. 

No, It does not require any other tags. Is it possible for you to share the file that you are working on? 

hugogogo October 13, 2021

hello @Ashwini_More _miniOrange

the code above doesn't work for me neither ? it's in a REAME.md file, in a bitbucket repo, i tried first to put only your code, and then to add a title (## title), the title get formated but still not the dropdown menue

it appear in a one line code :

`<details> <summary>Dropdown Heading</summary> <br> Choice 1 <br> Choice 2 <br> Choice 2 <br> </details>`

do you have an idea why it doen't work ?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events