Skip to content

Commit

Permalink
Merge pull request #187 from nih-sparc/parse-apps-text-as-markdown
Browse files Browse the repository at this point in the history
parsing apps description as markdown
  • Loading branch information
egauzens authored Aug 21, 2024
2 parents 4d3a627 + 0020750 commit ddf6a76
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions components/PortalFeatures/PortalFeature/PortalFeature.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@
class="icon"
:src=iconUrl
/>
<div class="body1 mt-16">
{{ description }}
</div>
<div class="body1 mt-16" v-html="parseMarkdown(description)" />
<a class="button-link" :href="buttonLink">
<el-button class="secondary">
{{ buttonText }}
Expand All @@ -26,10 +24,13 @@

<script>
import { pathOr } from 'ramda'
import marked from '@/mixins/marked/index'
export default {
name: 'PortalFeature',
mixins: [marked],
props: {
feature: {
type: Object,
Expand Down

0 comments on commit ddf6a76

Please sign in to comment.