Skip to content
Snippets Groups Projects
Commit 4e4d18d7 authored by Christopher Pietsch's avatar Christopher Pietsch
Browse files

added markdown column for detail

parent 3ffc4e8f
Branches
No related tags found
No related merge requests found
......@@ -794,8 +794,7 @@ svg {
}
.detail a {
float: left;
/* text-decoration: inherit; */
text-decoration: none;
color: #2D2D2D;
font-style: normal;
}
......
......@@ -150,6 +150,9 @@ This visualization is not optimized for mobiles. Please come back on a Computer.
<span v-else-if="entry.type === 'link'">
<a :href="item[entry.source]" target="_blank">Link</a>
</span>
<span v-else-if="entry.type === 'markdown'">
<span v-html="getContent(entry)"></span>
</span>
<span v-else>
{{ getContent(entry) }}
</span>
......
......@@ -23,6 +23,9 @@ var detailVue = new Vue({
if(entry.type === 'keywords') {
return this.item[entry.source].join(', ')
}
if(entry.type === 'markdown') {
return marked(this.item[entry.source])
}
if(entry.type === 'function') {
const column = this.item
const func = entry.source
......
......@@ -314,7 +314,7 @@ function myTagCloud() {
chart.filter(filterWords, true);
chart.update();
list.highlight();
list.split();
list.project()
return
}
......@@ -404,7 +404,8 @@ function myTagCloud() {
// list.highlight();
list.highlight();
list.split();
// list.split();
list.project()
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment