(rules, 'html')
@Component({
name: 'neko-markdown',
})
export default class extends Vue {
@Prop({ required: true })
source!: string
render(h: any) {
const state: MarkdownState = {
inline: true,
inQuote: false,
escapeHTML: true,
cssModuleNames: null,
}
return h({ template: `${htmlOutput(parser(this.source, state), state)}
` })
}
}