~gpanders/wk

cecdf4253b507cef4f1595078ac7e0b41b738fb1 — Gregory Anders 14 days ago b0f73a8
Highlight triple dots as closing front matter fence
1 files changed, 1 insertions(+), 1 deletions(-)

M src/cmd/show.zig
M src/cmd/show.zig => src/cmd/show.zig +1 -1
@@ 31,7 31,7 @@ pub fn run(allocator: *mem.Allocator, args: ?[]const []const u8) Command.Error!v
            writer.setColor(.Yellow).print("{}\n", .{it.next()});

            while (it.next()) |line| {
                const fence = mem.eql(u8, line, "---");
                const fence = mem.eql(u8, line, "---") or mem.eql(u8, line, "...");
                writer.setColor(if (fence) .Yellow else null).print("{}\n", .{line});
                if (fence) break;
            }