Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions web/book/highlight-prql.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,6 @@ Website: https://prql-lang.org/

// Inspired by [Pest's book](https://github.com/pest-parser/book)

// mdBook exposes a minified version of highlight.js, so the language
// definition objects below have abbreviated property names:
// "b" => begin
// "e" => end
// "c" => contains
// "k" => keywords
// "cN" => className

// TODO:
// - Can we represent strings with the actual rule of >= 3 quotes?
// - Aliases seem a bit strong?
Expand Down Expand Up @@ -209,12 +201,6 @@ const formatting = function (hljs) {
],
contains: [
CHAR_ESCAPE,
{
scope: "variable",
begin: "f",
end: '"',
// excludesEnd: true,
},
// TODO: would be nice to have this be a different color, but I don't
// think it's possible to have a subscope within the begin / end.
// {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -197,12 +197,6 @@ const formatting = function (hljs) {
],
contains: [
CHAR_ESCAPE,
{
scope: "variable",
begin: "f",
end: '"',
// excludesEnd: true,
},
// TODO: would be nice to have this be a different color, but I don't
// think it's possible to have a subscope within the begin / end.
// {
Expand Down
Loading