----------------------------------- lines 6-41 of file: example/code.py ----------------------------------- {xrst_begin code_example} Code Command Example #################### Factorial ********* {xrst_code py}""" def factorial(n) : if n == 1 : return 1 return n * factorial(n-1) r"""{xrst_code} Git Hash ******** {xrst_spell_off} {xrst_code py}""" git_hash='7c35a3ce607a14953f070f0f83b5d74c2296ef93' r"""{xrst_code} {xrst_spell_on} xrst_code ********* The file below demonstrates the use of ``xrst_code`` . xrst_spell_off, xrst_spell_on ***************************** The file below demonstrates the use of ``xrst_spell_off`` and ``xrst_spell_on`` . This Example File ***************** {xrst_literal} {xrst_end code_example}