def instructions(self, instructions): # Print the instructions inside of a frame if instructions: frame = MdFramed() frame.append(NoEscape(instructions)) self.__instructions = frame else: self.__instructions = None
def test_frames(): # Tests the framed environments md_framed = MdFramed() md_framed.append("Framed text") repr(md_framed) f_box = FBox() f_box.append("Fboxed text") repr(f_box)