#!/usr/bin/env python # coding: utf-8 # ##### The first page does not need a Slide tag # In[1]: print("I have no slide tag") # # demonstrating smart-exec # In[2]: x = 1 # In[3]: x = 2 # In[4]: x = 3 # Some note to see how it gets rendered # This is a skip cell # # one fragment per code cell # In[5]: z = 26 # In[6]: y = 25 # In[7]: x = 24 # # 2 fragments with 2 code cells each # In[8]: a = 1 # In[9]: b = 2 # Some text # In[10]: c = 3 # In[11]: d = 4 # ## smart exec and fragment # * in general the last cell in a fragment will behave like the end of a slide # * however if what comes after that fragment is visible already # * like when we show a fragment and move backwards # * then we allow smart-exec to go to the next cell # In[12]: # last cell in fragment print("I could go on") # In[13]: # move back up once this is displayed print("once the next fragment is shown") #
should be red if the css-loading feature works fine
#
should be blue if the css-loading feature works fine
# In[14]: e = 5 # When the text comes second # In[15]: f = 6 # Again with a fragment # Some text # In[16]: g = 7 # In[17]: h = 8