@staticmethod
def insert_code(code, language=''):
    """This method allows to insert a peace of code.

        :param code: code string.
        :type code:str
        :param language: code language: python. c++, c#...
        :type language: str
        :return: markdown style.
        :rtype: str
        """
    if language == '':
        return '```\n' + code + '\n```'
    else:
        return '```' + language + '\n' + code + '\n```'
