Ledger Nano X - The secure hardware wallet
SHARE
TWEET

vue markdown

krot Feb 24th, 2020 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         <v-textarea
  2.         counter
  3.         label="Текст ответа"
  4.         :rules="rules"
  5.         :value="value"
  6.         v-model="msg"
  7.         required
  8.       ></v-textarea>
  9.  
  10.  <div class="wrapper" v-html="compiledMarkdown"></div>
  11.  
  12. var marked = require('marked');
  13.   computed: {
  14.      compiledMarkdown: function () {
  15.       return marked(this.msg, { sanitize: true })
  16.     }
  17.   },
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top