code: def _add_slide_number(self, slide_no):
          
  
          if self.builder.config.slide_numbers:
              self.body.append(
                  '\n<div class="slide-no">%s</div>\n' % (slide_no,),
              )
docs: Add the slide number to the output if enabled.