{"id":17109299,"url":"https://github.com/kevinoid/jekyll-highlight-file","last_synced_at":"2025-04-13T03:20:05.690Z","repository":{"id":4926437,"uuid":"6083024","full_name":"kevinoid/jekyll-highlight-file","owner":"kevinoid","description":"A Liquid filter for Jekyll which outputs highlighted file content","archived":false,"fork":false,"pushed_at":"2016-01-18T06:14:20.000Z","size":10,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-26T20:21:19.668Z","etag":null,"topics":["code-highlight","jekyll","jekyll-plugin","liquid-templating-engine","ruby"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"allonhadaya/porpy","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kevinoid.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog.txt","contributing":null,"funding":null,"license":"COPYING.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-10-04T22:28:26.000Z","updated_at":"2023-02-28T21:16:04.000Z","dependencies_parsed_at":"2022-07-06T18:33:39.059Z","dependency_job_id":null,"html_url":"https://github.com/kevinoid/jekyll-highlight-file","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinoid%2Fjekyll-highlight-file","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinoid%2Fjekyll-highlight-file/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinoid%2Fjekyll-highlight-file/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevinoid%2Fjekyll-highlight-file/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kevinoid","download_url":"https://codeload.github.com/kevinoid/jekyll-highlight-file/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248658268,"owners_count":21140914,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["code-highlight","jekyll","jekyll-plugin","liquid-templating-engine","ruby"],"created_at":"2024-10-14T16:22:49.654Z","updated_at":"2025-04-13T03:20:05.666Z","avatar_url":"https://github.com/kevinoid.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"highlight\\_file Liquid Filter for Jekyll\n=======================================\n\nhighlight\\_file is a plugin for Jekyll which provides a Liquid filter for\ndisplaying highlighted code from a file (possibly in a local or remote git\nrepository).  In particular, it makes including GitHub gists simple and\npainless.\n\nFirst, some quick examples.  To highlight a file from the local filesystem:\n\n    {% highlight_file java /home/me/code/example.java %}\n\nTo include a file in a git repository:\n\n    {% highlight_git c git://git.xfce.org/apps/terminal terminal/terminal-dialogs.c %}\n\nOr to include a gist:\n\n    {% highlight_gist ruby 3131752 content-with-post.rb linenos=table %}\n\nEach of the arguments can be either a word or a quoted string (double-quoted\nstring which allows backslash to escape characters).  Additionally, each tag\nsupports a set of options specified as either `key` or `key=value` pairs\n(where values may be quoted strings).  The supported options are listed below.\n\nSupported Options\n=================\n\nThe supported options are:\n\ngist\\_script\n: Use the GitHub Gist JavaScript to render gists.  Built-in highlighting is\n  provided in a \u0026lt;noscript\u0026gt; tag following the GitHub script. (default: false)\n\ngit\\_host\\_footer\n: Add markup with links to the git host (if recognized) following the\n  highlighted code. (default: true)\n\npull\n: Pull the git repository before rendering to ensure that it is up-to-date.\n  (default: false)\n\nrepos\\_dir\n: Location where local clones of the git repositories are stored.\n  (default: `_highlight_repos`)\n\nAdditionally, any options which are not recognized are passed through to the\nbuilt-in `highlight` tag.  This allows the user to specify any option\nsupported by `highlight`.\n\nAdditional Information\n======================\n\nInstallation instructions are available in `INSTALL.txt`.\nMajor changes are listed in `ChangeLog.txt`.\nComplete license text is available in `COPYING.txt`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevinoid%2Fjekyll-highlight-file","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkevinoid%2Fjekyll-highlight-file","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevinoid%2Fjekyll-highlight-file/lists"}