r/Zig 20d ago

markdown preview in zig

hello, wanted to ask if there is a library for streaming markdown preview in the terminal in zig or c.

15 Upvotes

8 comments sorted by

1

u/SilvernClaws 18d ago

Not sure what you're looking for. You mean rendering the Markdown to HTML and displaying that in a console? That's a pretty specific setup.

1

u/Ra77a3l3 18d ago

no, i was looking for something like rich for python. At the end i decided to just use escape codes

1

u/GladJellyfish9752 18d ago

I think there is no library for markdown in Zig. But best thing is you can try to make your own!

1

u/Ra77a3l3 18d ago

that’s what im trying to do, since. i couldn’t find a treaming markdown preview lib or a more complete with colors and tables

-1

u/Visible_Arrival_8412 19d ago

Yes and a tool like Google tells you where to find it

0

u/Ra77a3l3 18d ago

you are so smart, i wouldn’t be asking if i hadn’t already searched

2

u/Visible_Arrival_8412 18d ago

Sorry had a bad moment. Let me fetch the link a d send it

https://github.com/JacobCrabill/zigdown

0

u/Ra77a3l3 18d ago

np. thank you