diff --git a/docs/data/docs.json b/docs/data/docs.json index 28a33c697..68a3f8cc7 100644 --- a/docs/data/docs.json +++ b/docs/data/docs.json @@ -167,6 +167,12 @@ "bibtex" ] }, + { + "Name": "Bicep", + "Aliases": [ + "bicep" + ] + }, { "Name": "BlitzBasic", "Aliases": [ @@ -971,6 +977,19 @@ "onesenterprise" ] }, + { + "Name": "OpenEdge ABL", + "Aliases": [ + "abl", + "cls", + "i", + "openedge", + "openedgeabl", + "p", + "progress", + "w" + ] + }, { "Name": "OpenSCAD", "Aliases": [ @@ -1049,6 +1068,13 @@ "txt" ] }, + { + "Name": "Plutus Core", + "Aliases": [ + "plc", + "plutus-core" + ] + }, { "Name": "Pony", "Aliases": [ @@ -1608,8 +1634,11 @@ { "Name": "XML", "Aliases": [ + "csproj", + "fsproj", "rss", "svg", + "vcxproj", "wsdl", "wsf", "xml", @@ -1638,6 +1667,12 @@ "yang" ] }, + { + "Name": "Zed", + "Aliases": [ + "zed" + ] + }, { "Name": "Zig", "Aliases": [ @@ -1870,7 +1905,9 @@ "type": "application/javascript", "string": "application/javascript", "suffixes": [ - "js" + "js", + "jsm", + "mjs" ] }, { diff --git a/go.mod b/go.mod index 975c23af5..e206785ad 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ require ( github.com/BurntSushi/locker v0.0.0-20171006230638-a6e239ea1c69 github.com/PuerkitoBio/purell v1.1.1 github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 // indirect - github.com/alecthomas/chroma v0.9.4 + github.com/alecthomas/chroma v0.10.0 github.com/armon/go-radix v1.0.0 github.com/aws/aws-sdk-go v1.41.14 github.com/bep/debounce v1.2.0 diff --git a/go.sum b/go.sum index a2bdd4ae0..7662d93c3 100644 --- a/go.sum +++ b/go.sum @@ -113,6 +113,8 @@ github.com/alecthomas/chroma v0.7.2-0.20200305040604-4f3623dce67a/go.mod h1:fv5S github.com/alecthomas/chroma v0.8.2/go.mod h1:sko8vR34/90zvl5QdcUdvzL3J8NKjAUx9va9jPuFNoM= github.com/alecthomas/chroma v0.9.4 h1:YL7sOAE3p8HS96T9km7RgvmsZIctqbK1qJ0b7hzed44= github.com/alecthomas/chroma v0.9.4/go.mod h1:jtJATyUxlIORhUOFNA9NZDWGAQ8wpxQQqNSB4rjA/1s= +github.com/alecthomas/chroma v0.10.0 h1:7XDcGkCQopCNKjZHfYrNLraA+M7e0fMiJ/Mfikbfjek= +github.com/alecthomas/chroma v0.10.0/go.mod h1:jtJATyUxlIORhUOFNA9NZDWGAQ8wpxQQqNSB4rjA/1s= github.com/alecthomas/colour v0.0.0-20160524082231-60882d9e2721/go.mod h1:QO9JBoKquHd+jz9nshCh40fOfO+JzsoXy8qTHF68zU0= github.com/alecthomas/kong v0.1.17-0.20190424132513-439c674f7ae0/go.mod h1:+inYUSluD+p4L8KdviBSgzcqEjUQOfC5fQDRFuc36lI= github.com/alecthomas/kong v0.2.1-0.20190708041108-0548c6b1afae/go.mod h1:+inYUSluD+p4L8KdviBSgzcqEjUQOfC5fQDRFuc36lI= diff --git a/hugolib/embedded_shortcodes_test.go b/hugolib/embedded_shortcodes_test.go index 895b3a959..ba0abe43b 100644 --- a/hugolib/embedded_shortcodes_test.go +++ b/hugolib/embedded_shortcodes_test.go @@ -89,13 +89,13 @@ func TestShortcodeHighlight(t *testing.T) { `{{< highlight java >}} void do(); {{< /highlight >}}`, - `(?s)
}}
void do();
{{< /highlight >}}`,
- `(?s)`,
+ `(?s)`,
},
} {
diff --git a/hugolib/page_test.go b/hugolib/page_test.go
index 5e89278e1..6b35e4814 100644
--- a/hugolib/page_test.go
+++ b/hugolib/page_test.go
@@ -1914,8 +1914,8 @@ Link with URL as text
b.AssertFileContent("public/page/index.html",
`