UNPKG

prism-code-editor

Version:

Lightweight, extensible code editor component for the web using Prism

23 lines (22 loc) 585 B
import { l as languages, a as tokenize } from "../../index-DF54SWhA.js"; import { e as embeddedIn } from "../../templating-BdWShxVo.js"; import "./markup.js"; import "./ruby.js"; languages.erb = { "erb": { pattern: /<%=?(?:[^\n]|\n(?!=begin)|\n=begin\s(?:[^\n]|\n(?!=end))*\n=end)+?%>/, inside: { "delimiter": { pattern: /^..=?|%>$/g, alias: "punctuation" }, "ruby": { pattern: /\s*\S[^]*/, alias: "language-ruby", inside: "ruby" } } }, [tokenize]: embeddedIn("html") }; //# sourceMappingURL=erb.js.map