Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Ease Liquid evaluation after/from Converter plugins #5099
I made a "Cloudinarify" Converter plugin that generates jekyll-cloudinary Liquid tags from standard Markdown:
The aim is to facilitate publication with standard Markdown in any editor, while providing Cloudinary support when the content is published in a Jekyll site. Best of both worlds.
But, it seems Liquid tags from posts are parsed before Converters are run, so my Converter must also convert the Liquid tag to HTML.
I tried, but I don't know how to do it, because it needs a context that I don't have in the Converter: https://github.com/nhoizey/nicolas-hoizey.com/blob/7c606257d5659ce0c2006fc74c6d94d4252df5ce/_plugins/cloudinaryfy.rb#L58
I'm aware an issue has already been open to ask for the context in Converters, but it had a negative answer: #1509
So, is there a way to run a Liquid render after (or from) a Converter?