mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-28 22:19:59 +02:00
deps: Update github.com/alecthomas/chroma v0.9.4 => v0.10.0
This commit is contained in:
@@ -89,13 +89,13 @@ func TestShortcodeHighlight(t *testing.T) {
|
||||
`{{< highlight java >}}
|
||||
void do();
|
||||
{{< /highlight >}}`,
|
||||
`(?s)<div class="highlight"><pre tabindex="0" style="background-color:#fff;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-java"`,
|
||||
`(?s)<div class="highlight"><pre tabindex="0" style="background-color:#fff;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-java"`,
|
||||
},
|
||||
{
|
||||
`{{< highlight java "style=friendly" >}}
|
||||
void do();
|
||||
{{< /highlight >}}`,
|
||||
`(?s)<div class="highlight"><pre tabindex="0" style="background-color:#f0f0f0;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-java" data-lang="java">`,
|
||||
`(?s)<div class="highlight"><pre tabindex="0" style="background-color:#f0f0f0;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-java" data-lang="java">`,
|
||||
},
|
||||
} {
|
||||
|
||||
|
@@ -1914,8 +1914,8 @@ Link with URL as text
|
||||
b.AssertFileContent("public/page/index.html",
|
||||
`<nav id="TableOfContents">
|
||||
<li><a href="#shortcode-t-short-in-header">Shortcode T-SHORT in header</a></li>
|
||||
<code class="language-bash" data-lang="bash"><span class="hl">SHORT
|
||||
<code class="language-bash" data-lang="bash"><span class="hl">MARKDOWN
|
||||
<code class="language-bash" data-lang="bash"><span class="line hl"><span class="cl">SHORT
|
||||
<code class="language-bash" data-lang="bash"><span class="line hl"><span class="cl">MARKDOWN
|
||||
<p><a href="https://google.com">https://google.com</a></p>
|
||||
`)
|
||||
}
|
||||
|
Reference in New Issue
Block a user