File tree Expand file tree Collapse file tree 3 files changed +9
-15
lines changed Expand file tree Collapse file tree 3 files changed +9
-15
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ require (
27
27
github.com/ProtonMail/go-crypto v1.2.0
28
28
github.com/PuerkitoBio/goquery v1.10.3
29
29
github.com/SaveTheRbtz/zstd-seekable-format-go/pkg v0.7.3
30
- github.com/alecthomas/chroma/v2 v2.17 .0
30
+ github.com/alecthomas/chroma/v2 v2.20 .0
31
31
github.com/aws/aws-sdk-go-v2/credentials v1.17.67
32
32
github.com/aws/aws-sdk-go-v2/service/codecommit v1.28.2
33
33
github.com/blakesmith/ar v0.0.0-20190502131153-809d4375e1fb
Original file line number Diff line number Diff line change @@ -78,11 +78,11 @@ github.com/SaveTheRbtz/zstd-seekable-format-go/pkg v0.7.3/go.mod h1:hMNtySovKkn2
78
78
github.com/alecthomas/assert/v2 v2.11.0 h1:2Q9r3ki8+JYXvGsDyBXwH3LcJ+WK5D0gc5E8vS6K3D0 =
79
79
github.com/alecthomas/assert/v2 v2.11.0 /go.mod h1:Bze95FyfUr7x34QZrjL+XP+0qgp/zg8yS+TtBj1WA3k =
80
80
github.com/alecthomas/chroma/v2 v2.2.0 /go.mod h1:vf4zrexSH54oEjJ7EdB65tGNHmH3pGZmVkgTP5RHvAs =
81
- github.com/alecthomas/chroma/v2 v2.17 .0 h1:3r2Cgk+nXNICMBxIFGnTRTbQFUwMiLisW+9uos0TtUI =
82
- github.com/alecthomas/chroma/v2 v2.17 .0 /go.mod h1:RVX6AvYm4VfYe/zsk7mjHueLDZor3aWCNE14TFlepBk =
81
+ github.com/alecthomas/chroma/v2 v2.20 .0 h1:sfIHpxPyR07/Oylvmcai3X/exDlE8+FA820NTz+9sGw =
82
+ github.com/alecthomas/chroma/v2 v2.20 .0 /go.mod h1:e7tViK0xh/Nf4BYHl00ycY6rV7b8iXBksI9E359yNmA =
83
83
github.com/alecthomas/repr v0.0.0-20220113201626-b1b626ac65ae /go.mod h1:2kn6fqh/zIyPLmm3ugklbEi5hg5wS435eygvNfaDQL8 =
84
- github.com/alecthomas/repr v0.4.0 h1:GhI2A8MACjfegCPVq9f1FLvIBS+DrQ2KQBFZP1iFzXc =
85
- github.com/alecthomas/repr v0.4.0 /go.mod h1:Fr0507jx4eOXV7AlPV6AVZLYrLIuIeSOWtW57eE/O/4 =
84
+ github.com/alecthomas/repr v0.5.1 h1:E3G4t2QbHTSNpPKBgMTln5KLkZHLOcU7r37J4pXBuIg =
85
+ github.com/alecthomas/repr v0.5.1 /go.mod h1:Fr0507jx4eOXV7AlPV6AVZLYrLIuIeSOWtW57eE/O/4 =
86
86
github.com/alexbrainman/sspi v0.0.0-20231016080023-1a75b4708caa h1:LHTHcTQiSGT7VVbI0o4wBRNQIgn917usHWOd6VAffYI =
87
87
github.com/alexbrainman/sspi v0.0.0-20231016080023-1a75b4708caa /go.mod h1:cEWa1LVoE5KvSD9ONXsZrj0z6KqySlCCNKHlLzbqAt4 =
88
88
github.com/anchore/archiver/v3 v3.5.2 h1:Bjemm2NzuRhmHy3m0lRe5tNoClB9A4zYyDV58PaB6aA =
Original file line number Diff line number Diff line change @@ -97,16 +97,10 @@ func TestRender_Source(t *testing.T) {
97
97
assert .Equal (t , strings .TrimSpace (expected ), strings .TrimSpace (buffer ))
98
98
}
99
99
100
- test (`#+begin_src go
101
- // HelloWorld prints "Hello World"
102
- func HelloWorld() {
103
- fmt.Println("Hello World")
104
- }
100
+ test (`#+begin_src c
101
+ int a;
105
102
#+end_src
106
- ` , `<div class="src src-go">
107
- <pre><code class="chroma language-go"><span class="c1">// HelloWorld prints "Hello World"</span>
108
- <span class="kd">func</span> <span class="nf">HelloWorld</span><span class="p">()</span> <span class="p">{</span>
109
- <span class="nx">fmt</span><span class="p">.</span><span class="nf">Println</span><span class="p">(</span><span class="s">"Hello World"</span><span class="p">)</span>
110
- <span class="p">}</span></code></pre>
103
+ ` , `<div class="src src-c">
104
+ <pre><code class="chroma language-c"><span class="kt">int</span> <span class="n">a</span><span class="p">;</span></code></pre>
111
105
</div>` )
112
106
}
You can’t perform that action at this time.
0 commit comments