diff options
Diffstat (limited to '_posts/2021-04-10-collapsible.md')
-rw-r--r-- | _posts/2021-04-10-collapsible.md | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/_posts/2021-04-10-collapsible.md b/_posts/2021-04-10-collapsible.md new file mode 100644 index 0000000..17b82a3 --- /dev/null +++ b/_posts/2021-04-10-collapsible.md @@ -0,0 +1,22 @@ +--- +title: Collapsible snippets +excerpt: > + Snippets can be hidden in collapsible panels. +snippets_root_directory: snippets +snippets_language: c++ +snippets_collapsible: true +snippets: + hello: + - hello.hpp + - hello.cpp + world: + - world.hpp + - world.cpp +--- +Just set a front matter value, and voilĂ ! + +{% include snippets/section.html section_id='hello' %} + +This is another set of snippets: + +{% include snippets/section.html section_id='world' %} |