0

My MD code blocks in GitHub show correctly, but the same code block in GitHub pages is displayed differently.

example: In GitHub I use code blocks around the text " vars: script_args: '{{ script_args }}'" to get:

      vars:
        script_args: '{{ script_args }}'

This displays as a code block with all text in the code block shown.

The very same page viewed in GitHub pages is still shown as a code block, but it displays as:

      vars:
        script_args: ''

How can I make the {{ script_args }} display correctly in both GitHub and GitHub pages view of the same content?

spetz83
  • 494
  • 6
  • 21
  • 1
    Does this answer your question? [Escaping double curly braces inside a markdown code block in Jekyll](https://stackoverflow.com/questions/24102498/escaping-double-curly-braces-inside-a-markdown-code-block-in-jekyll) – cam-rod Oct 04 '22 at 18:22

0 Answers0