title: How to use Jekyll code in (inline) code highlighting?
body: <p>How can I use for example <code>{{ post.date | date: "%H:%M %p - %-d %b %y" }}</code> in code highlighting?</p>
  
  <p>The only way I have found so far is using <code>{% raw %}{{ post.date | date: "%H:%M %p - %-d %b %y" }}{% endraw %}</code>. However, then it shows the code snippet as unformatted text rather than with proper inline code highlighting.</p>
  
  <p>If I use </p>
  
  <pre><code>`{{ post.date | date: "%H:%M %p - %-d %b %y" }}`
  </code></pre>
  
  <p>then the code is rendered instead of shown as code.</p>