New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add note about Liquid and syntax highlighting #6439

Closed
first-timers bot opened this Issue Oct 18, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@first-timers

first-timers bot commented Oct 18, 2017

πŸ†•πŸ₯☝ First Timers Only.

This issue is reserved for people who never contributed to Open Source before. We know that the process of creating a pull request is the biggest barrier for new contributors. This issue is for you πŸ’

About First Timers Only.

πŸ€” What you will need to know.

Nothing. This issue is meant to welcome you to Open Source :) We are happy to walk you through the process.

πŸ“‹ Step by Step

  • πŸ‘Œ Join the team: Add yourself to a Jekyll affinity team.

    Go to teams.jekyllrb.com join a team that best fits your interests. Once you click the link to join a team, you will soon recieve an email inviting you to join the Jekyll organization.

  • πŸ™‹ Claim this issue: Comment below.

    Leave a comment that you have claimed this issue.

  • πŸ“ Update the file docs/_docs/templates.md in the jekyll repository (press the little pen Icon) and edit the line as shown below.

@@ -469,6 +469,13 @@ you want to highlight, look for the β€œshort name” on the [Rouge
 wiki](https://github.com/jayferd/rouge/wiki/List-of-supported-languages-and-lexers)
 or the [Pygments' Lexers page](http://pygments.org/docs/lexers/).
 
+<div class="note info">
+  <h5>Jekyll processes all Liquid filters in code blocks</h5>
+  <p>If you are using a language that contains curly braces, you
+     will likely need to place <code>{&#37; raw &#37;}</code> and
+     <code>{&#37; endraw &#37;}</code> tags around your code.</p>
+</div>
+
 #### Line numbers
 
 There is a second argument to `highlight` called `linenos` that is optional.
  • πŸ’Ύ Commit your changes

  • πŸ”€ Start a Pull Request. There are two ways how you can start a pull request:

    1. If you are familiar with the terminal or would like to learn it, here is a great tutorial on how to send a pull request using the terminal.

    2. You can edit files directly in your browser

  • 🏁 Done Ask in comments for a review :)

πŸ€”β“ Questions

Leave a comment below!

This issue was created by First-Timers-Bot.

@visheshruparelia

This comment has been minimized.

Show comment
Hide comment
@visheshruparelia

visheshruparelia Oct 22, 2017

Contributor

I'd like to claim this.

Contributor

visheshruparelia commented Oct 22, 2017

I'd like to claim this.

@pathawks

This comment has been minimized.

Show comment
Hide comment
@pathawks

pathawks Oct 22, 2017

Member

@visheshruparelia Awesome! Thank you πŸ‘

Member

pathawks commented Oct 22, 2017

@visheshruparelia Awesome! Thank you πŸ‘

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment