File tree Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Original file line number Diff line number Diff line change @@ -503,6 +503,56 @@ Checklists are an unordered list with a checkbox.
503503
504504< ! -- markdownlint-enable MD031 -->
505505
506+ # ## Accordions
507+
508+ Basic two item accordion:
509+
510+ {{< accordion-list data-multi-expand=" true" data-allow-all-closed=" true" > }}
511+ {{< accordion-item accordion-title=" List item description" > }}
512+ Hello, world.
513+ {{< /accordion-item > }}
514+ {{< accordion-item accordion-title=" Active item" is-active=" true" > }}
515+ This is active by default
516+ {{< /accordion-item > }}
517+ {{< /accordion-list > }}
518+
519+ Accordion in an ordered list:
520+
521+ These are procedures:
522+
523+ 1. Do this.
524+
525+ 1. Do that:
526+
527+ {{< accordion-list data-multi-expand=" true" data-allow-all-closed=" true" > }}
528+ {{< accordion-item accordion-title=" Active item" is-active=" true" > }}
529+ This is active by default
530+
531+ ` ` ` json
532+ {
533+ " This" : " is a sample json" ,
534+ " for" : " markdown and Hugo testing."
535+ }
536+ ` ` `
537+ {{< /accordion-item > }}
538+ {{< /accordion-list > }}
539+
540+ Accordion in an unordered list:
541+
542+ This is a list:
543+
544+ - Some text
545+
546+ {{< accordion-list data-multi-expand=" true" data-allow-all-closed=" true" > }}
547+ {{< accordion-item accordion-title=" List item description" > }}
548+ Hello, world.
549+ {{< /accordion-item > }}
550+ {{< accordion-item accordion-title=" Active item" is-active=" true" > }}
551+ This is active by default
552+ {{< /accordion-item > }}
553+ {{< /accordion-list > }}
554+
555+
506556# # Code
507557
508558# ## Code blocks
You can’t perform that action at this time.
0 commit comments