You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,17 +35,24 @@ My partials/data for simplify creating posts.
35
35
36
36
#### Include
37
37
In general `{% include file ...options %}` with standarized options
38
+
-`code`, `img` and similar tags supproted by Markdown (the idea is to extend these, but still at least particually be able see that in `.md`). So, example: `{% include image.html img=''`.
38
39
-`href`, `src` for links/images/…
39
40
-`title`, `alt` for links/images/…
40
41
-`caption` for description (eg. `<figcaption>`)
41
42
-`file`s
42
43
-[`{% include code.html …`](./_includes/code.html)
43
-
-[`{% include icon.html …`](./_includes/icon.html)
44
44
-[`{% include image.html …`](./_includes/image.html)
45
+
-[`{% include textBox.html …`](./_includes/textBox.html)
45
46
-[`{% include reference.html …`](./_includes/reference.html)
46
47
-[`{% include references_list.html …`](./_includes/references_list.html)
47
48
-[`{% include kbd.html …`](./_includes/kbd.html)
49
+
-[`{% include blockquote.html …`](./_includes/blockquote.html)
50
+
-[`{% include q.html …`](./_includes/q.html)
51
+
-[`{% include icon.html …`](./_includes/icon.html)
48
52
- ([`{% include show_toc.html …`](./_includes/show_toc.html))
53
+
-**Important note:** It isn't supported to neste `include` components
54
+
- Instead of: `{% include textBox.html text="{% include kbd.html keys='Ctrl A' %}" %}`
55
+
- Use workaround: `{% capture tmp_kbd %}{% include kbd.html keys='Ctrl A' %}{% endcapture %}{% include textBox.html text=tmp_kbd %}`
49
56
50
57
#### Data/Snippets
51
58
-[`{{ site.data.abbr.* }}`](./_data/abbr.yml) for using abbreviation
%}{% comment %}V nasledujicim cyklus preskoci "```" casti{% endcomment
12
+
%}{% capture code %}{% for line in pre_code %}{% if forloop.index > 2 and forloop.index <lines%}{{line|append:new_line}}{%endif%}{%endfor%}{%endcapture
0 commit comments