mirror of
https://github.com/tenrok/vue-select.git
synced 2026-06-22 10:30:34 +03:00
9 lines
221 B
JavaScript
9 lines
221 B
JavaScript
import { highlight, languages } from 'prismjs';
|
|
|
|
/**
|
|
* Returns code block with prism markup.
|
|
* @param {String} snippet
|
|
* @return {*}
|
|
*/
|
|
export default snippet => highlight(snippet, languages.javascript, 'javascript')
|