{"id":28964225,"url":"https://github.com/razvii22/jekyll-unified-codeblocks","last_synced_at":"2025-08-06T15:16:44.007Z","repository":{"id":293755516,"uuid":"985026440","full_name":"razvii22/jekyll-unified-codeblocks","owner":"razvii22","description":"Ruby gem that unifies Jekyll and Kramdown's codeblocks.","archived":false,"fork":false,"pushed_at":"2025-06-06T12:55:33.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-06T13:43:07.311Z","etag":null,"topics":["codeblocks","jekyll","kramdown","monkey-patching"],"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/razvii22.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-16T23:41:24.000Z","updated_at":"2025-06-06T12:55:34.000Z","dependencies_parsed_at":"2025-05-17T01:19:20.573Z","dependency_job_id":"c143f179-7f1e-4578-b53d-64a7f279c847","html_url":"https://github.com/razvii22/jekyll-unified-codeblocks","commit_stats":null,"previous_names":["razvii22/jekyll-unified-codeblocks"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/razvii22/jekyll-unified-codeblocks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/razvii22%2Fjekyll-unified-codeblocks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/razvii22%2Fjekyll-unified-codeblocks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/razvii22%2Fjekyll-unified-codeblocks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/razvii22%2Fjekyll-unified-codeblocks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/razvii22","download_url":"https://codeload.github.com/razvii22/jekyll-unified-codeblocks/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/razvii22%2Fjekyll-unified-codeblocks/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261607954,"owners_count":23184012,"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":["codeblocks","jekyll","kramdown","monkey-patching"],"created_at":"2025-06-24T05:01:28.109Z","updated_at":"2025-06-24T05:03:13.015Z","avatar_url":"https://github.com/razvii22.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Jekyll Unified Codeblocks\nA simple monkey-patched gem that unified Jekyll's `{%highlight%}` tag with Kramdown's GFM style code fences.\n\n# Usage\n## HTML\nJUC generates the following `general` HTML structure for styling.\n```html\n\u003cfigure class=\"language-[lang] highlighter-rouge highlight\"\u003e\n    \u003cfigcaption\u003e[lang]\u003c/figcaption\u003e\n    \u003cdiv class=\"highlight\"\u003e\n        \u003cpre class=\"highlight\"\u003e\u003ccode\u003e code! \u003c/code\u003e\u003c/pre\u003e\n    \u003c/div\u003e\n\u003c/figure\u003e\n```\nWhere `[lang]` is the language name.\nJUC does not modify how code tags are structured, this still differs between `{% highlight %}` and code fences.\n\n## Installation\nJUC internally overrides Jekyll and Kramdown methods when loaded, therefore installation is as simple as adding the following to your Jekyll site Gemfile:\n`gem 'jekyll-unified-codeblocks', git: \"https://github.com/razvii22/jekyll-unified-codeblocks\"`\nand then run `bundle install`.  \nThen you need to add JUC to the `_config.yml` file of your jekyll project:\n```yaml\nplugins:\n - jekyll-unified-codeblocks\n```\nIf everything installed and loaded correctly, you should see the following message in your terminal the next time you build or serve your jekyll site:  \n`Jekyll-unified-codeblocks has been loaded :3`\n\n\n# Note\nJUC also patches Jekyll's `{% highlight %}` block's annoying behaviour of throwing an error if a language is not specified, instead, it will now default to `plaintext` as the language if none is specified.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frazvii22%2Fjekyll-unified-codeblocks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frazvii22%2Fjekyll-unified-codeblocks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frazvii22%2Fjekyll-unified-codeblocks/lists"}