Show More
@@ -43,11 +43,10 b' class RevealHelpPreprocessor(Preprocessor):' | |||||
43 | preprocessors to pass variables into the Jinja engine. |
|
43 | preprocessors to pass variables into the Jinja engine. | |
44 | """ |
|
44 | """ | |
45 |
|
45 | |||
46 |
for worksheet in nb.worksheets |
|
46 | for worksheet in nb.worksheets: | |
47 | for index, cell in enumerate(worksheet.cells): |
|
47 | for index, cell in enumerate(worksheet.cells): | |
48 |
|
48 | |||
49 | #Make sure the cell has slideshow metadata. |
|
49 | #Make sure the cell has slideshow metadata. | |
50 | cell.metadata.align_type = cell.get('metadata', {}).get('slideshow', {}).get('align_type', 'Left') |
|
|||
51 | cell.metadata.slide_type = cell.get('metadata', {}).get('slideshow', {}).get('slide_type', '-') |
|
50 | cell.metadata.slide_type = cell.get('metadata', {}).get('slideshow', {}).get('slide_type', '-') | |
52 |
|
51 | |||
53 | #Get the slide type. If type is start of subslide or slide, |
|
52 | #Get the slide type. If type is start of subslide or slide, |
General Comments 0
You need to be logged in to leave comments.
Login now