TIL `cmark` CLI; Read `TextOutputStream` post in NSHeapster
Looking for replacement for pandoc installed cmark. For my use cases it works better transforming .md into .html. The only inconvenience is absence of headers, but that not a big deal.
Read TextOutputStream post in NSHeapster.
Hipster asks, did you know that the actual signature of print is print(_:separator:terminator:)? Yes I did know that and I am using it regularly. Or that it had a variant named print(_:separator:terminator:to:)? Noooooo! to parameter is for printing into String. Actually not to a String but to a TextOutputStream to which String conforms to. I used to write String(format:), or a loop, or map to build string where print(_:to:) could have been used.
Fixed what I believe is a bug in spotify’s SPTPersistentCache.