/** * External dependencies */ import MarkdownIt from 'markdown-it'; /** * Types */ import type { Options } from 'markdown-it'; export type Fix = 'list' | 'paragraph' | 'listItem' | 'table'; const addListComments = ( content: string ) => { return ( content // First remove any existing Gutenberg comments to avoid duplicates .replaceAll( '', '' ) .replaceAll( '', '' ) .replaceAll( '', '' ) .replaceAll( '', '' ) // Add Gutenberg comments to
  • tags .replaceAll( '
  • ', '
  • ' ) .replaceAll( '
  • ', '' ) // Add Gutenberg comments to
      tags .replaceAll( '
        ', '
          ' ) .replaceAll( '
        ', '
      ' ) // Add Gutenberg comments to