{"id":13612112,"url":"https://github.com/lmullen/jekyll_figure","last_synced_at":"2025-04-13T11:31:30.814Z","repository":{"id":15198210,"uuid":"17926435","full_name":"lmullen/jekyll_figure","owner":"lmullen","description":"A Liquid figure tag for Jekyll sites","archived":true,"fork":false,"pushed_at":"2015-06-05T21:03:09.000Z","size":156,"stargazers_count":31,"open_issues_count":3,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-04-24T20:14:51.997Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/lmullen.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}},"created_at":"2014-03-20T01:11:55.000Z","updated_at":"2023-11-20T01:38:33.000Z","dependencies_parsed_at":"2022-07-31T02:38:03.854Z","dependency_job_id":null,"html_url":"https://github.com/lmullen/jekyll_figure","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/lmullen%2Fjekyll_figure","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmullen%2Fjekyll_figure/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmullen%2Fjekyll_figure/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmullen%2Fjekyll_figure/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lmullen","download_url":"https://codeload.github.com/lmullen/jekyll_figure/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248705662,"owners_count":21148571,"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-08-01T20:00:22.640Z","updated_at":"2025-04-13T11:31:30.577Z","avatar_url":"https://github.com/lmullen.png","language":"Ruby","funding_links":[],"categories":["Figures \u0026 Captions"],"sub_categories":[],"readme":"# Jekyll Figure\n\nAdds a Liquid `figure` tag to a [Jekyll][] site\n\nLincoln A. Mullen | lincoln@lincolnmullen.com | http://lincolnmullen.com\n\n## Installation\n\nAdd this line to your Jekyll site's `Gemfile`:\n\n    gem 'jekyll_figure'\n\nAnd then execute:\n\n    bundle\n\nIn the Jekyll site's `_config.yml` file, add this line:\n\n    gems: [jekyll_figure]\n\nIf you have a directory where you keep your figures, add these lines to\n`_config.yml`:\n\n    figures:\n      dir: /figures\n\nIf you would like the figures to be enumerated (e.g., \"Figure 1,\" \"Figure \n2\") then add this value to `_config.yml`:\n\n    figures:\n      enumerate: true\n\nIf you would like to add Google Analytics event tracking to the figure \nlinks, then add this value to `_config.yml` (you must have Google \nAnalytics on your site, obviously):\n\n    figures:\n      analytics: true\n\n## Usage\n\nTo add a figure, use the figure tag in this form:\n\n    {% figure filename svg,png,pdf 'Your caption here' %}\n\nThe first value is the filename, which should be shared across every\nformat of the figure. The second value is a comma-separated list of\nextensions for the filename. The third value is a quoted caption. The\ntag will produce an img tag for the first file format in the list of\nextensions. It will include a caption with links to all the figure\nformats. If the figures directory is set in `_config.yml`, then the\nimage and the links will point there.\n\nYou can [see an example here][].\n\n\n## License\n\nMIT License \u003chttp://lmullen.mit-license.org/\u003e\n\n  [Jekyll]: http://jekyllrb.com/\n  [see an example here]: http://lincolnmullen.com/blog/a-figure-plugin-for-jekyll/\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flmullen%2Fjekyll_figure","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flmullen%2Fjekyll_figure","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flmullen%2Fjekyll_figure/lists"}