nodes.js 385 B

1234567891011121314151617181920212223242526
  1. import { Fence } from '@/components/Fence'
  2. const nodes = {
  3. document: {
  4. render: undefined,
  5. },
  6. th: {
  7. attributes: {
  8. scope: {
  9. type: String,
  10. default: 'col',
  11. },
  12. },
  13. render: (props) => <th {...props} />,
  14. },
  15. fence: {
  16. render: Fence,
  17. attributes: {
  18. language: {
  19. type: String,
  20. },
  21. },
  22. },
  23. }
  24. export default nodes