mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-07 14:50:56 +00:00
4.0.0-rc8
* Added: Initial support for chat on Clips. * Fixed: Do not attempt to apply the dark theme to the Twitch Prime landing page. * Fixed: Remove debug logging from Chat on Videos.
This commit is contained in:
parent
ae9aa66799
commit
2297edb051
26 changed files with 962 additions and 34 deletions
28
src/std-components/markdown.vue
Normal file
28
src/std-components/markdown.vue
Normal file
|
@ -0,0 +1,28 @@
|
|||
<template>
|
||||
<div v-html="output" />
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
||||
import MD from 'markdown-it';
|
||||
|
||||
export default {
|
||||
props: {
|
||||
source: String
|
||||
},
|
||||
|
||||
computed: {
|
||||
md() {
|
||||
return new MD({
|
||||
html: false,
|
||||
linkify: true
|
||||
});
|
||||
},
|
||||
|
||||
output() {
|
||||
return this.md.render(this.source);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue