chore: bump marked
This commit is contained in:
@@ -14,7 +14,7 @@ Vue.createApp({
|
||||
}),
|
||||
computed: {
|
||||
compiledMarkdown() {
|
||||
return marked(this.input, { sanitize: true })
|
||||
return marked.marked(this.input, { sanitize: true })
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
||||
@@ -13,7 +13,7 @@ const { ref, computed } = Vue
|
||||
Vue.createApp({
|
||||
setup() {
|
||||
const input = ref('# hello')
|
||||
const output = computed(() => marked(input.value, { sanitize: true }))
|
||||
const output = computed(() => marked.marked(input.value, { sanitize: true }))
|
||||
const update = _.debounce(e => { input.value = e.target.value }, 50)
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user