To author -- code sample as images is great for syntax highlight but I wanted to play with the examples and.. got stuck trying to copy the content.
(also expected tesseract to do a bit better than this:
$ wl-paste -t image/png | tesseract -l eng - -
Estimating resolution as 199
const std = @import("std");
const expect = std.testing.expect;
const Point = struct {x: i32, y: i32};
test "anonymous struct literal" {
const pt: Point = .{
x = 13,
-y = 67,
33
try expect (pt.x
try expect(pt.y
13);
67);
)