Commit 6b2d615b authored by Anton's avatar Anton

display markdown in annotation list

parent acccb144
......@@ -26,9 +26,7 @@
@click.prevent="event => {handleAnnotationClick(event, annotation, index)}")
.row.no-wrap
.date {{formatSelectorForList(annotation)}}
div
<!--.author {{annotation.author.name}}-->
.content {{annotation.body.value}}
markdown-display.content(:content="annotation.body.value")
template(v-else)
strong Loading annotations
......@@ -46,12 +44,14 @@ import constants from 'mbjs-data-models/src/constants'
import CellInfo from '../CellInfo'
import Username from '../../../shared/partials/Username'
import VideoTitle from '../../../shared/partials/VideoTitle'
import MarkdownDisplay from '../../../shared/partials/MarkdownDisplay'
export default {
components: {
CellInfo,
Username,
VideoTitle
VideoTitle,
MarkdownDisplay
},
props: ['cell', 'display', 'preview'],
data () {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment