aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/web/html.md
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2022-09-23 20:28:41 +0200
committerJohannes Stoelp <johannes.stoelp@gmail.com>2022-09-23 20:28:41 +0200
commit29c1b6a06f8d5c546fbd5514731c4ac4c504f6c3 (patch)
treeb606a4867775ed0b245f871b7faecf6d74f5dfa4 /src/web/html.md
parent34902049cf496f5b13bad10396248ec8d8780aeb (diff)
downloadnotes-29c1b6a06f8d5c546fbd5514731c4ac4c504f6c3.tar.gz
notes-29c1b6a06f8d5c546fbd5514731c4ac4c504f6c3.zip
web: added html snippets
Diffstat (limited to 'src/web/html.md')
-rw-r--r--src/web/html.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/web/html.md b/src/web/html.md
new file mode 100644
index 0000000..7561cf4
--- /dev/null
+++ b/src/web/html.md
@@ -0,0 +1,15 @@
+# html
+
+## Collapsible element
+[Rendered html](src/details.html)
+```html
+{{#include src/details.html:10: }}
+```
+> With the `open` attribute `<details open>` the details are unfolded by default.
+
+# Minimal 2 column layout
+[Rendered html](src/grid-2col.html)
+```html
+{{#include src/grid-2col.html }}
+```
+