def fmt(self, fills):
f = "<STR_LIT>"<EOL>out = []<EOL>name = self.name.fmt(fills)<EOL>if self.parsed and any(<EOL>p for p in self.parsed<EOL>if str(type(p)) != "<STR_LIT>"):<EOL><INDENT>fills.update({<EOL>'<STR_LIT>':<EOL>name,<EOL>'<STR_LIT>':<EOL>'<STR_LIT>'.join([p.fmt(fills) for p in self.parsed if p]),<EOL>})<EOL>out.append(f % fills)<EOL><DEDENT>if hasattr(self, '<STR_LIT>'):<EOL><INDENT>if self.name.subparse and len(self.inner) > <NUM_LIT:0>:  <EOL><INDENT>inner = '<STR_LIT>'.join([p.fmt(fills) for p in self.inner])<EOL>inner = inner.replace(fills['<STR_LIT>'],<EOL>fills['<STR_LIT>'] + fills['<STR_LIT>']).rstrip(<EOL>fills['<STR_LIT>'])<EOL>if not fills['<STR_LIT>']:<EOL><INDENT>inner = inner.strip()<EOL><DEDENT>fills.update({<EOL>'<STR_LIT>': name,<EOL>'<STR_LIT>': fills['<STR_LIT>'] + inner<EOL>})<EOL>out.append(f % fills)<EOL><DEDENT>else:<EOL><INDENT>out.append('<STR_LIT>'.join([p.fmt(fills) for p in self.inner]))<EOL><DEDENT><DEDENT>return '<STR_LIT>'.join(out)<EOL>
Format block (CSS)
        args:
            fills (dict): Fill elements
        returns:
            str (CSS)