meteorlxy / vue-showdown

:page_with_curl: Use showdown as a vue component
https://vue-showdown.js.org
MIT License
129 stars 23 forks source link

how to use extension "showdown-katex" with options #28

Closed jackywu closed 3 years ago

jackywu commented 3 years ago

thanks for your great work. I'm going to use extension showdown-katex,and want put some options to this extension,after read your document and showdown-katex document but still did not find a way to do it. could you tell some suggestion?

meteorlxy commented 3 years ago
import 'showdown-katex';
<VueShowdown :extensions="['showdown-katex']" />

It works here