Show More
@@ -55,7 +55,14 b' class RevealHelpPreprocessor(Preprocessor):' | |||
|
55 | 55 | worksheet.cells[index - 1].metadata.slide_helper = 'slide_end' |
|
56 | 56 | if cell.metadata.slide_type in ['subslide']: |
|
57 | 57 | worksheet.cells[index - 1].metadata.slide_helper = 'subslide_end' |
|
58 | ||
|
58 | if cell.metadata.slide_type in ['fragment']: | |
|
59 | try: | |
|
60 | i = 1 | |
|
61 | while 1: | |
|
62 | worksheet.cells[index + i].metadata.frag_helper = 'fragment_end' | |
|
63 | i += 1 | |
|
64 | except IndexError as e: | |
|
65 | pass #Last cell doesn't have a next one | |
|
59 | 66 | |
|
60 | 67 | if not isinstance(resources['reveal'], dict): |
|
61 | 68 | resources['reveal'] = {} |
@@ -10,7 +10,13 b'' | |||
|
10 | 10 | <section> |
|
11 | 11 | {{ super() }} |
|
12 | 12 | {%- elif cell.metadata.slide_type in ['-'] -%} |
|
13 | {{ super() }} | |
|
13 | {%- if cell.metadata.frag_helper in ['fragment_end'] -%} | |
|
14 | <div class="fragment"> | |
|
15 | {{ super() }} | |
|
16 | </div> | |
|
17 | {%- else -%} | |
|
18 | {{ super() }} | |
|
19 | {%- endif -%} | |
|
14 | 20 | {%- elif cell.metadata.slide_type in ['skip'] -%} |
|
15 | 21 | <div style=display:none> |
|
16 | 22 | {{ super() }} |
General Comments 0
You need to be logged in to leave comments.
Login now