3.3. ShowEval Trace Mode

eggs = ['dogs', 'cats', 'moose']
ham = ['elk', 'salmon']
eggs = eggs + ham
.. showeval:: showEval_2
   :trace_mode: true

   eggs = ['dogs', 'cats', 'moose']
   ham = ['elk', 'salmon']
   eggs = eggs + ham
   ~~~~
   eggs = {​{eggs}}{​{['dogs', 'cats', 'moose']}} + ham
   eggs = ['dogs', 'cats', 'moose'] + {​{ham}}{​{['elk', 'salmon']}}
   eggs = {​{['dogs', 'cats', 'moose'] + ['elk', 'salmon']}}{​{['dogs', 'cats', 'moose', 'elk', 'salmon']}}

3.4. ShowEval Replace Mode

eggs = ['dogs', 'cats', 'moose']
.. showeval:: showEval_1
  :trace_mode: false

  eggs = ['dogs', 'cats', 'moose']
  ~~~~

  ''.join({​{eggs}}{​{['dogs', 'cats', 'moose']}}).upper().join(eggs)
  {​{''.join(['dogs', 'cats', 'moose'])}}{​{'dogscatsmoose'}}.upper().join(eggs)
  {​{'dogscatsmoose'.upper()}}{​{'DOGSCATSMOOSE'}}.join(eggs)
  'DOGSCATSMOOSE'.join({​{eggs}}{​{['dogs', 'cats', 'moose']}})
  {​​{'DOGSCATSMOOSE'.join(['dogs', 'cats', 'moose'])}}{​{'dogsDOGSCATSMOOSEcatsDOGSCATSMOOSEmoose'}}
You have attempted of activities on this page