Esempio n. 1
0
 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
Esempio n. 2
0
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)
Esempio n. 3
0
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)