getOptionsFromState = file => {
  const { encoding, lineEnding, adjustLineEndingOnSave, trimTrailingNewline } = file
  return { encoding, lineEnding, adjustLineEndingOnSave, trimTrailingNewline }
}
Default internel markdown document with editor options.

@type {IDocumentState} Internel markdown document