20 v_code
Display code with syntax highlighting.
Props
value
:{ type: String }
type
:{ type: String, default: 'txt' }
(Supported types:js
,javascript
,json
,txt
,html
,css
,xml
,sql
,handlebars
)highlight
:{ type: Boolean, default: false }
Example
HTML | |
---|---|