UNPKG

@storybook/addon-storysource

Version:

View a story’s source code to see how it works and paste into your app

6 lines (3 loc) 828 B
import { __commonJS } from './chunk-CFLTNKIO.js'; var require_diff=__commonJS({"../../node_modules/highlight.js/lib/languages/diff.js"(exports,module){function diff(hljs){return {name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,variants:[{begin:/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/},{begin:/^\*\*\* +\d+,\d+ +\*\*\*\*$/},{begin:/^--- +\d+,\d+ +----$/}]},{className:"comment",variants:[{begin:/Index: /,end:/$/},{begin:/^index/,end:/$/},{begin:/={3,}/,end:/$/},{begin:/^-{3}/,end:/$/},{begin:/^\*{3} /,end:/$/},{begin:/^\+{3}/,end:/$/},{begin:/^\*{15}$/},{begin:/^diff --git/,end:/$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}module.exports=diff;}});var diff4DHYIQJH = require_diff(); export { diff4DHYIQJH as default };