--- layout: "default" buttons: ["Primary"] ---

{{page.title}}


Using \{{#hl}} helper with no lang {{#hl}} {{/hl}} Using \{{#hl lang='html'}} to highlight {{#hl lang='html'}} {{/hl}}
{{#md}} ##Highlighting an external file from base This will pull in an external file using your base to resolve the path. In this example, `button.html` lives in the `_includes` directory {{/md}} Code: \{{hl src='button.html'}} {{hl src='button.html'}} {{#md}} ##Highlighting an external file relative to base All files includes are relative to the base setting, regardless of the current file you are working in. In addition, paths that begin with a dot `.` will be resolved before looking in includes directories etc. So, in this example if I wanted to include the contents of the `.gitignore` and the **base** is set to `test/fixtures`, all I need do is: {{/md}} \{{hl src='../../.gitignore'}} {{hl src='../../.gitignore'}}