News for hackers. Stuff that matters.
Re:Pikchr – PIC-like markup language for diagrams in technic... by nattaylor on Saturday September 26, 2020 @09:13PM (#24603429)
>Any existing Markdown or other wiki rendering engine that can invoke a C-language library should be able to integrate Pikchr quickly and easily.

Sounds lightweight! I wonder if that will help with adoption

Re:Pikchr – PIC-like markup language for diagrams in technic... by vinodkd on Saturday September 26, 2020 @09:41PM (#24603525)
Well, the author's other "single C file dependency" project is somewhat popular I hear, so maybe.
Re:Pikchr – PIC-like markup language for diagrams in technic... by sgbeal on Sunday September 27, 2020 @09:04AM (#24606335)
> Sounds lightweight!

Its public API is literally a single function. You give it pikchr code and it returns a string which contains either an SVG or a description of an error it ran across. (You, the user, can determine which it is by the state of an output parameter (integer pointer).)

Re:Pikchr – PIC-like markup language for diagrams in technic... by nattaylor on Sunday September 27, 2020 @02:40PM (#24609077)
So Pandoc written in Haskell ought to be easy to integrate, right?