On 8/23/19 5:15 PM, Steven Schveighoffer wrote:

I have a need to display some text which has newlines. Rather than
construct a string that substitutes newlines for
, is it possible
via diet's filter system to do this? Are there ways to register new

This works, and probably is the best thing I can do:

  • import std.algorithm : substitute;
    | !{expr.substitute("\n", "