-
I think I’m missing something: my @eleven_ty filter (which aims to be a port of @jekyllrb’s markdownify filter) is returning markup that is text (with encoded < and >) rather than actual HTML. Thoughts?
-
@eleven_ty @jekyllrb I’ve tried returning the result of both markdownit’s render() and renderInline() methods as well as returning that inside of a backtick-ed string (e.g.,
${html}
). I’ve ruled out collisions with other filters. What am I missing? -
@eleven_ty @jekyllrb Just figured it out: Nunjucks was the source of the encoding. Needed to add the "safe" filter to the output.