/* eslint-disable class-methods-use-this */ import { Node } from 'tiptap'; // Transforms generated HTML back to GFM for Banzai::Filter::MarkdownFilter export default class DescriptionList extends Node { get name() { return 'description_list'; } get schema() { return { content: '(description_term+ description_details+)+', group: 'block', parseDOM: [{ tag: 'dl' }], toDOM: () => ['dl', 0], }; } toMarkdown(state, node) { state.write('