import { Config } from '@markdoc/markdoc';

export const tags: Config['tags'] = {
  Row: {
    render: 'Row',
    attributes: {
      style: {
        type: 'Object',
        required: true,
      },
    },
  },
  Column: {
    render: 'Column',
    attributes: {
      style: {
        type: 'Object',
        required: true,
      },
    },
  },
  Sidenote: {
    render: 'Sidenote',
    attributes: {
      id: {
        type: 'String',
        required: false,
      },
      marker: {
        type: 'String',
        required: true,
      },
      content: {
        type: 'String',
        required: true,
      },
      type: {
        type: 'String',
        default: 'default',
      },
    },
  },
};
