From e726014585409acacef2e79a8d83a55a9e47ecb6 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 31 May 2021 16:10:50 +0300 Subject: add more examples, update README --- _posts/2021-04-10-collapsible.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 _posts/2021-04-10-collapsible.md (limited to '_posts/2021-04-10-collapsible.md') 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' %} -- cgit v1.2.3