{"id":19157105,"url":"https://github.com/kinduff/jekyll_miscellaneous","last_synced_at":"2026-01-04T15:59:07.966Z","repository":{"id":56878679,"uuid":"457128141","full_name":"kinduff/jekyll_miscellaneous","owner":"kinduff","description":"A collection of opinionated plugins for Jekyll.","archived":false,"fork":false,"pushed_at":"2024-06-01T21:26:31.000Z","size":46,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-02T09:48:40.508Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kinduff.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-02-08T22:42:15.000Z","updated_at":"2024-06-01T21:26:34.000Z","dependencies_parsed_at":"2022-08-20T22:30:58.717Z","dependency_job_id":null,"html_url":"https://github.com/kinduff/jekyll_miscellaneous","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kinduff%2Fjekyll_miscellaneous","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kinduff%2Fjekyll_miscellaneous/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kinduff%2Fjekyll_miscellaneous/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kinduff%2Fjekyll_miscellaneous/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kinduff","download_url":"https://codeload.github.com/kinduff/jekyll_miscellaneous/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245090895,"owners_count":20559296,"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":[],"created_at":"2024-11-09T08:38:21.017Z","updated_at":"2026-01-04T15:59:07.928Z","avatar_url":"https://github.com/kinduff.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Jekyll Miscellaneous\n\n[![Gem Version](https://badge.fury.io/rb/jekyll_miscellaneous.svg)](https://badge.fury.io/rb/jekyll_miscellaneous) [![codecov](https://codecov.io/gh/kinduff/jekyll_miscellaneous/branch/main/graph/badge.svg?token=VWB60QW0UV)](https://codecov.io/gh/kinduff/jekyll_miscellaneous)\n\nA collection of opinionated plugins for Jekyll.\n\n## How to install\n\nInstall the gem:\n\n```\ngem install jekyll_miscellaneous\n```\n\nOr add it to your Gemfile. You can use `bundle add jekyll_miscellaneous`.\n\nThen use the plugin in your Jekyll's `_config.yml` file.\n\n```\nplugins:\n  - jekyll_miscellaneous\n```\n\n## How to use\n\nThis gem includes multiple Jekyll or Liquid plugins that you can use immediately without further configuration.\n\n- Tags\n  - [YouTube](#youtube)\n- Filters\n  - [Base64 Encode](#base64-encode)\n  - [Base64 Decode](#base64-decode)\n  - [Hash Color](#hash-color)\n  - [Regex Replace](#regex-replace)\n  - [Clean URLs](#clean-urls)\n  - [Truncate](#truncate)\n  - [URI Encode](#uri-encode)\n- Hooks\n  - [External Links](#external-links)\n  - [Mark](#mark)\n\nMore to come.\n\n### YouTube\n\nGiven:\n\n```liquid\n{% youtube dQw4w9WgXcQ %}\n```\n\nWill output:\n\n```html\n\u003cdiv class=\"youtube-container\"\u003e\n  \u003ciframe src=\"https://www.youtube-nocookie.com/embed/dQw4w9WgXcQ\"\u003e\u003c/iframe\u003e\n\u003c/div\u003e\n```\n\n### Base64 Encode\n\nGiven:\n\n```liquid\n{% 'Hello, World!' | base64_encode %}\n```\n\nWill output:\n\n```\nSGVsbG8sIFdvcmxkIQ==\n```\n\n### Base64 Decode\n\nGiven:\n\n```liquid\n{% 'SGVsbG8sIFdvcmxkIQ==' | base64_decode %}\n```\n\nWill output:\n\n```\nHello, World!\n```\n\n### Hash Color\n\nGiven:\n\n```liquid\n{% 'Hello, World!' | hash_color %}\n```\n\nWill output:\n\n```\nhsl(349, 100%, 90%)\n```\n\n### Regex Replace\n\nGiven:\n\n```liquid\n{% 'Hello, World!' | regex_replace '$Hello', 'Goodbye' %}\n```\n\nWill output:\n\n```\nGoodbye, World!\n```\n\n### Clean URLs\n\nGiven:\n\n```liquid\n{% 'Hello, http://example.com World!' | clean_urls %}\n```\n\nWill output:\n\n```\nHello, World!\n```\n\n### Truncate\n\nGiven:\n\n```liquid\n{% 'Hello, World!' | truncate 10 %}\n{% 'Hello, World!' | truncate 10 ',' %}\n{% 'Hello, World!' | truncate 10 ',' '!' %}\n```\n\nWill output:\n\n```\nHello, ...\nHello...\nHello!\n```\n\n### URI encode\n\nGiven:\n\n```liquid\n{% 'Hello, World!' | uri_encode %}\n```\n\nWill output:\n\n```\nHello%2C%20World%21\n```\n\n### External links\n\nWith the configuration:\n\n```yaml\nbase_url: https://kinduff.com\n```\n\nGiven:\n\n```html\n\u003cp\u003e\n  Link to the\n  \u003ca href=\"https://example.com\"\u003eexample\u003c/a\u003e.\n\u003c/p\u003e\n```\n\nWill output:\n\n```html\n\u003cp\u003e\n  Link to the\n  \u003ca href=\"https://example.com\" rel=\"external\" target=\"_blank\"\u003eexample ⧉\u003c/a\u003e.\n\u003c/p\u003e\n```\n\nMore in the documentation.\n\n### Mark\n\nGiven:\n\n```markdown\nHello, ==World==!\n```\n\nWill output:\n\n```html\n\u003cp\u003eHello, \u003cmark\u003eWorld\u003c/mark\u003e!\u003c/p\u003e\n```\n\n## Contributing\n\n1. Fork it (`https://github.com/kinduff/jekyll_miscellaneous/fork`).\n2. Create your feature branch (`git checkout -b my-new-feature`).\n3. Commit your changes (`git commit -am \"Add some feature\"`).\n4. Push to the branch (`git push origin my-new-feature`).\n5. Create new Pull Request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkinduff%2Fjekyll_miscellaneous","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkinduff%2Fjekyll_miscellaneous","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkinduff%2Fjekyll_miscellaneous/lists"}