Skip to content

Commit 0628132

Browse files
committed
improve image and youtube video latex template
1 parent 18839e0 commit 0628132

2 files changed

Lines changed: 15 additions & 4 deletions

File tree

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
{% load cc_export_tags %}
22
{% autoescape off %}
33

4-
\textbf{ {{content.description}} }
4+
\textbf{Image}
55
\Image{ {{content.description}} }{% templatetag openbrace %}{{content.imagecontent.image.path}}{% templatetag closebrace%}
6-
{% endautoescape %}
6+
\newline
7+
{{content.description}}
8+
\newline
9+
10+
{% endautoescape %}
Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,9 @@
1-
\textbf{This is a YouTube video}
2-
\href{ {{ content.ytvideocontent.url }} }{ {{ content.ytvideocontent.url }} }
1+
{% load cc_export_tags %}
2+
{% autoescape off %}
3+
\textbf{YouTube video}
4+
\newline
5+
\href{ {{ content.ytvideocontent.url }} }{ {{ content.ytvideocontent.url }} }
6+
\newline
7+
{{content.description|tex_escape}}
8+
\newline
9+
{% endautoescape %}

0 commit comments

Comments
 (0)