{"id":13612086,"url":"https://github.com/mslinn/jekyll_quote","last_synced_at":"2025-10-27T05:30:57.365Z","repository":{"id":65216708,"uuid":"587385593","full_name":"mslinn/jekyll_quote","owner":"mslinn","description":"Formats citations and quotes in a Jekyll website","archived":false,"fork":false,"pushed_at":"2025-01-14T12:23:44.000Z","size":2328,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-01T02:33:46.358Z","etag":null,"topics":["jekyll","jekyll-tag"],"latest_commit_sha":null,"homepage":"https://www.mslinn.com/jekyll_plugins/jekyll_quote.html","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/mslinn.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2023-01-10T16:21:07.000Z","updated_at":"2025-01-14T12:23:36.000Z","dependencies_parsed_at":"2023-11-11T23:29:07.958Z","dependency_job_id":"102060a3-c462-4789-b95d-94dd2225a5eb","html_url":"https://github.com/mslinn/jekyll_quote","commit_stats":{"total_commits":43,"total_committers":2,"mean_commits":21.5,"dds":0.2325581395348837,"last_synced_commit":"88e20ddbe2e5d76529ba1464e361720da7c85dff"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mslinn%2Fjekyll_quote","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mslinn%2Fjekyll_quote/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mslinn%2Fjekyll_quote/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mslinn%2Fjekyll_quote/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mslinn","download_url":"https://codeload.github.com/mslinn/jekyll_quote/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238437627,"owners_count":19472450,"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":["jekyll","jekyll-tag"],"created_at":"2024-08-01T20:00:22.264Z","updated_at":"2025-10-27T05:30:56.881Z","avatar_url":"https://github.com/mslinn.png","language":"Ruby","funding_links":[],"categories":["Bibliography \u0026 Citiations"],"sub_categories":[],"readme":"# `jekyll_quote` [![Gem Version](https://badge.fury.io/rb/jekyll_quote.svg)](https://badge.fury.io/rb/jekyll_quote)\n\n`jekyll_quote` is a Jekyll plugin that displays formatted quotes.\n\nSee [demo/index.html](demo/index.html) for examples.\n\n\n## Installation\n\n1. Add the following line to your Jekyll project's Gemfile, within the `jekyll_plugins` group:\n\n   ```ruby\n   group :jekyll_plugins do\n     gem 'jekyll_quote'\n   end\n   ```\n\n2. Install the `jekyll_quote` Ruby gem and mark it as a dependency of your project by typing:\n\n   ```shell\n   $ bundle\n   ```\n\n3. Copy the CSS classes from `demo/assets/css/jekyll_quote.css` to your Jekyll project's CSS file.\n\n\n## Syntax\n\n```html\n{% quote OPTIONS %}\n  Content of quote goes here.\n{% endquote %}\n```\n\nThe default preposition is 'From'.\n\nOPTIONS are:\n\n* `break` \u0026ndash; Put the citation on a separate line. Ignored if `cite` was not specified.\n* `by` \u0026ndash; Preface the citation with the preposition 'By'.\n  Ignored if `cite` was not specified.\n* `cite` \u0026ndash; Citation text\n* `class` \u0026ndash; Apply additional CSS classes\n* `id` \u0026ndash; HTML id attribute for the enclosing `div`\n* `noprep` \u0026ndash; Do not preface the citation with a preposition.\n  Ignored if `cite` was not specified.\n* `style` \u0026ndash; Apply additional CSS styling\n* `url` \u0026ndash; URL for the citation. Ignored if `cite` was not specified.\n\n\n## Usage Example\n\n```html\n{% quote cite=\"Blaise Pascal, in Lettres provinciales\"\n   url=\"https://en.wikipedia.org/wiki/Lettres_provinciales\"\n%}\n  I have only made this letter longer because\n  I have not had the time to make it shorter.\n{% endquote %}\n```\n\n\n## Attribution\n\nSee [`jekyll_plugin_support` for `attribution`](https://github.com/mslinn/jekyll_plugin_support#subclass-attribution)\n\n\n## Demo\n\nA demo / test website is provided in the `demo` directory.\nIt can be used to debug the plugin or to run freely.\nPlease examine the HTML files in the demo to see how the plugin works.\n\nTo run the demo freely from the command line, type:\n\n```shell\n$ demo/_bin/debug -r\n```\n\n## Additional Information\n\nMore information is available on\n[Mike Slinn\u0026rsquo;s website](https://www.mslinn.com/blog/2020/10/03/jekyll-plugins.html).\n\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies.\n\nYou can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\n\nTo build and install this gem onto your local machine, run:\n\n```shell\n$ bundle exec rake install\njekyll_quote 0.1.0 built to pkg/jekyll_quote-0.1.0.gem.\njekyll_quote (0.1.0) installed.\n```\n\nExamine the newly built gem:\n\n```shell\n$ gem info jekyll_quote\n\n*** LOCAL GEMS ***\n\njekyll_quote (0.1.0)\n    Author: Mike Slinn\n    Homepage:\n    https://github.com/mslinn/jekyll_quote\n    License: MIT\n    Installed at: /home/mslinn/.gems\n\n    Generates Jekyll logger with colored output.\n```\n\n\n### Running the Demo\n\nExamine the output by running:\n\n```shell\n$ demo/_bin/debug -r\n```\n\n... and pointing your web browser to http://localhost:4444/\n\n\n### Unit Tests\n\nEither run `rspec` from Visual Studio Code's *Run and Debug* environment\n(\u003ckbd\u003eCtrl\u003c/kbd\u003e-\u003ckbd\u003eshift\u003c/kbd\u003e-\u003ckbd\u003eD\u003c/kbd\u003e) and view the *Debug Console* output,\nor run it from the command line:\n\n```shell\n$ rspec\n```\n\n\n### Build and Push to RubyGems\n\nTo release a new version,\n\n  1. Update the version number in `version.rb`.\n  2. Commit all changes to git; if you don't the next step might fail with an unexplainable error message.\n  3. Run the following:\n\n     ```shell\n     $ bundle exec rake release\n     ```\n\n     The above creates a git tag for the version, commits the created tag,\n     and pushes the new `.gem` file to [RubyGems.org](https://rubygems.org).\n\n\n## Contributing\n\n1. Fork the project\n2. Create a descriptively named feature branch\n3. Add your feature\n4. Submit a pull request\n\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmslinn%2Fjekyll_quote","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmslinn%2Fjekyll_quote","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmslinn%2Fjekyll_quote/lists"}