@storybook/addon-storysource
Version:
View a story’s source code to see how it works and paste into your app
6 lines (3 loc) • 645 B
JavaScript
import { __commonJS } from './chunk-CFLTNKIO.js';
var require_leaf=__commonJS({"../../node_modules/highlight.js/lib/languages/leaf.js"(exports,module){function leaf(hljs){return {name:"Leaf",contains:[{className:"function",begin:"#+[A-Za-z_0-9]*\\(",end:/ \{/,returnBegin:!0,excludeEnd:!0,contains:[{className:"keyword",begin:"#+"},{className:"title",begin:"[A-Za-z_][A-Za-z_0-9]*"},{className:"params",begin:"\\(",end:"\\)",endsParent:!0,contains:[{className:"string",begin:'"',end:'"'},{className:"variable",begin:"[A-Za-z_][A-Za-z_0-9]*"}]}]}]}}module.exports=leaf;}});var leafFEZJHCG5 = require_leaf();
export { leafFEZJHCG5 as default };