@ncukondo/slide-generation 0.3.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -66,11 +66,13 @@ output: |
|
|
|
66
66
|
</div>
|
|
67
67
|
<div class="text-section">
|
|
68
68
|
{%- if content.text is iterable and content.text is not string %}
|
|
69
|
+
<ul>
|
|
69
70
|
{%- for item in content.text %}
|
|
70
|
-
|
|
71
|
+
<li>{{ item }}</li>
|
|
71
72
|
{%- endfor %}
|
|
73
|
+
</ul>
|
|
72
74
|
{%- else %}
|
|
73
|
-
{{ content.text }}
|
|
75
|
+
<p>{{ content.text }}</p>
|
|
74
76
|
{%- endif %}
|
|
75
77
|
</div>
|
|
76
78
|
</div>
|
|
@@ -64,11 +64,13 @@ output: |
|
|
|
64
64
|
{%- endif %}
|
|
65
65
|
<div class="column-content">
|
|
66
66
|
{%- if column.content is iterable and column.content is not string %}
|
|
67
|
+
<ul>
|
|
67
68
|
{%- for item in column.content %}
|
|
68
|
-
|
|
69
|
+
<li>{{ item }}</li>
|
|
69
70
|
{%- endfor %}
|
|
71
|
+
</ul>
|
|
70
72
|
{%- else %}
|
|
71
|
-
{{ column.content }}
|
|
73
|
+
<p>{{ column.content }}</p>
|
|
72
74
|
{%- endif %}
|
|
73
75
|
</div>
|
|
74
76
|
</div>
|
|
@@ -52,20 +52,24 @@ output: |
|
|
|
52
52
|
<div class="two-column-container" style="--left-ratio: {{ leftRatio }}; --right-ratio: {{ rightRatio }};">
|
|
53
53
|
<div class="column-left">
|
|
54
54
|
{%- if content.left is iterable and content.left is not string %}
|
|
55
|
+
<ul>
|
|
55
56
|
{%- for item in content.left %}
|
|
56
|
-
|
|
57
|
+
<li>{{ item }}</li>
|
|
57
58
|
{%- endfor %}
|
|
59
|
+
</ul>
|
|
58
60
|
{%- else %}
|
|
59
|
-
{{ content.left }}
|
|
61
|
+
<p>{{ content.left }}</p>
|
|
60
62
|
{%- endif %}
|
|
61
63
|
</div>
|
|
62
64
|
<div class="column-right">
|
|
63
65
|
{%- if content.right is iterable and content.right is not string %}
|
|
66
|
+
<ul>
|
|
64
67
|
{%- for item in content.right %}
|
|
65
|
-
|
|
68
|
+
<li>{{ item }}</li>
|
|
66
69
|
{%- endfor %}
|
|
70
|
+
</ul>
|
|
67
71
|
{%- else %}
|
|
68
|
-
{{ content.right }}
|
|
72
|
+
<p>{{ content.right }}</p>
|
|
69
73
|
{%- endif %}
|
|
70
74
|
</div>
|
|
71
75
|
</div>
|