« get me outta code hell

generateUnsafeMunchy.js « dependencies « content « src - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies/generateUnsafeMunchy.js
blob: c11aadc7f02ae0ff3e5e82a1908afffa1635e890 (plain)
1
2
3
4
5
6
7
8
9
10
export default {
  extraDependencies: ['html'],

  slots: {
    contentSource: {type: 'string'},
  },

  generate: (slots, {html}) =>
    new html.Tag(null, null, slots.contentSource),
};