Replies: 1 comment 14 replies
-
The But it's possible to support it. What about usage like this: <template>
<div>
<VueShowdown class="prose" :markdown="content" :vue-template="true" :vue-template-data="{ myDynamicUrl }" />
</div>
</template>
<script>
import { Urls } from '../consts/urls.consts';
export default {
data() {
return {
content: 'Write some `Markdown` here :kissing:',
myDynamicUrl: Urls.apiHost,
};
},
};
</script> |
Beta Was this translation helpful? Give feedback.
14 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How do you allow VueShowndown to interpret template variables on the fly?
For example, with this single file component:
How can I process so that text like
{{myDynamicUrl}}
is rendered by VueShowdown?Beta Was this translation helpful? Give feedback.
All reactions