atleastzero / docsify-accordify

4 stars 2 forks source link

How to end an accordion? #2

Open superchango2017 opened 2 years ago

superchango2017 commented 2 years ago

Hi, what can I do to declare the end of the accordion? At the moment it's just one long accordion, every header below is not outside but inside? Thanks

atleastzero commented 2 years ago

Hi! Sorry for the delayed response. The headers below need 1 blank line of spacing between them and the previous section in the markdown (I just discovered this on my own project). I'll work on adding an alternative to this as well.

atleastzero commented 2 years ago

Additionally, adding an equivalent empty header such as below is a bit of a workaround but it may take some styling to make it look right

### Header with Accordion + 

Content for the accordion

###

Content outside of accordion.