Any way to render just the Liquid tags?

Is there a way to process just the Liquid tags, resolving all inclusions, variables, and conditions, and ending up with just the Markdown that would otherwise get fed to kramdown? I can think of two ways to use this off the top of my head:

  • Sharing a document with someone who doesn’t have access to your Jekyll installation
  • Moving a document into a different (Markdown-based) toolset

One solution would be creating a custom “Markdown” processor that actually does nothing. I was wondering if there was another possibility I’m missing.