constructor (blocks, listIndentation = 1, isGitlabCompatibilityEnabled = false) {
    this.blocks = blocks
    this.listType = [] // 'ul' or 'ol'
    // helper to translate the first tight item in a nested list
    this.isLooseParentList = true
    this.isGitlabCompatibilityEnabled = !!isGitlabCompatibilityEnabled

    // set and validate settings
    this.listIndentation = 'number'
    if (listIndentation === 'dfm') {
      this.listIndentation = 'dfm'
      this.listIndentationCount = 4
    } else if (typeof listIndentation === 'number') {
      this.listIndentationCount = Math.min(Math.max(listIndentation, 1), 4)
    } else {
      this.listIndentationCount = 1
    }
  }
Hi contributors!

Before you edit or update codes in this file,
make sure you have read this below:
Commonmark Spec: https://spec.commonmark.org/0.29/
GitHub Flavored Markdown Spec: https://github.github.com/gfm/
Pandoc Markdown: https://pandoc.org/MANUAL.html#pandocs-markdown
The output markdown needs to obey the standards of these Spec.