@storybook/addon-storysource
Version:
View a story’s source code to see how it works and paste into your app
6 lines (3 loc) • 691 B
JavaScript
import { __commonJS } from './chunk-CFLTNKIO.js';
var require_ebnf=__commonJS({"../../node_modules/highlight.js/lib/languages/ebnf.js"(exports,module){function ebnf(hljs){let commentMode=hljs.COMMENT(/\(\*/,/\*\)/),nonTerminalMode={className:"attribute",begin:/^[ ]*[a-zA-Z]+([\s_-]+[a-zA-Z]+)*/},ruleBodyMode={begin:/=/,end:/[.;]/,contains:[commentMode,{className:"meta",begin:/\?.*\?/},{className:"string",variants:[hljs.APOS_STRING_MODE,hljs.QUOTE_STRING_MODE,{begin:"`",end:"`"}]}]};return {name:"Extended Backus-Naur Form",illegal:/\S/,contains:[commentMode,nonTerminalMode,ruleBodyMode]}}module.exports=ebnf;}});var ebnfR43D4IWN = require_ebnf();
export { ebnfR43D4IWN as default };