Skip to content
This repository was archived by the owner on Nov 14, 2025. It is now read-only.

Conversation

@markpatterson27
Copy link
Contributor

@markpatterson27 markpatterson27 commented Jun 12, 2022

Double curly brackets {{ }} in code blocks need to be escaped to prevent Jykell from trying to process them as liquid tags.

For example, the YAML code snippet in Lab 6, Exercise 1, Task 2, step 18
image

Solution:
Place <!-- {% raw %}) --> and <!-- {% endraw %}) --> around code snippets with {{ }} .
See jekyll/jekyll#6217 (comment)

Checklist

Mark completed with "x" between brackets, "[x]", or checking the box once the PR is created:

Changes proposed in this pull request:

  • Place <!-- {% raw %}) --> and <!-- {% endraw %}) --> around code snippets with {{ }} .
  • Put YAML snippet inside corresponding Note block

@markpatterson27
Copy link
Contributor Author

I'm not sure if the YAML snippet is better inside the Note block or if it should be left outside it.

@MOC-Labs-Review
Copy link
Contributor

MOC labs Review confirms this pull request.

@LuizMacedo LuizMacedo merged commit 7317915 into MicrosoftLearning:master Jun 30, 2022
@LuizMacedo
Copy link
Collaborator

Thank you, @markpatterson27. I think it's good inside the Note.

@markpatterson27 markpatterson27 deleted the patch-escape-double-curly-brackets branch July 1, 2022 05:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants