docs: def build_indentation_list(parser: str = 'github'):
      r"""Create a data structure that holds the state of indentations.
  
      :parameter parser: decides the length of the list.
           Defaults to ``github``.
      :type parser: str
      :returns: indentation_list, a list that contains the state of
           indentations given a header type.
      :rtype: list
      :raises: a built-in exception.
      """
      indentation_list = list()
  
      if (parser == 'github' or parser == 'cmark' or parser == 'gitlab'
              or parser == 'commonmarker' or parser == 'redcarpet'):
          for i in range(0, md_parser[parser]['header']['max_levels']):
              indentation_list.append(False)
  
      return indentation_list