{"id":17048213,"url":"https://github.com/segfaultax/guard-redcarpet","last_synced_at":"2025-06-12T01:33:54.213Z","repository":{"id":1943695,"uuid":"2873199","full_name":"SegFaultAX/guard-redcarpet","owner":"SegFaultAX","description":"Guard for Redcarpet","archived":false,"fork":false,"pushed_at":"2012-01-29T17:26:12.000Z","size":117,"stargazers_count":2,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-14T00:41:54.968Z","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/SegFaultAX.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":"2011-11-29T07:03:01.000Z","updated_at":"2015-03-17T23:06:52.000Z","dependencies_parsed_at":"2022-09-13T00:10:49.340Z","dependency_job_id":null,"html_url":"https://github.com/SegFaultAX/guard-redcarpet","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SegFaultAX/guard-redcarpet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SegFaultAX%2Fguard-redcarpet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SegFaultAX%2Fguard-redcarpet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SegFaultAX%2Fguard-redcarpet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SegFaultAX%2Fguard-redcarpet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SegFaultAX","download_url":"https://codeload.github.com/SegFaultAX/guard-redcarpet/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SegFaultAX%2Fguard-redcarpet/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259377513,"owners_count":22848372,"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-10-14T09:51:21.557Z","updated_at":"2025-06-12T01:33:54.192Z","avatar_url":"https://github.com/SegFaultAX.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Guard::Redcarpet\n\n[Guard](https://github.com/guard/guard) extension for Markdown using the\n[Redcarpet](https://github.com/tanoku/redcarpet) gem. There is an existing\n[guard-markdown](https://github.com/darwalenator/guard-markdown) gem, but it\nuses Kramdown.\n\n## Install\n\nThis gem is an extension of Guard.\n\nInstallation (command-line):\n\n    gem install guard-redcarpet\n\nOr via your Gemfile:\n\n    gem 'guard-redcarpet'\n\nAdd the template to your Guardfile:\n\n    guard init redcarpet\n\n## Options\n\nYou should familiarize yourself with the Redcarpet documentation before\nexploring some of the advanced features of this gem.\n\n### Output directory\n\nThe default Guard template watches for .html.md and .html.markdown files:\n\n    guard 'redcarpet' do\n      watch(/^.+(\\.html\\.markdown)$/)\n      watch(/^.+(\\.html\\.md)$/)\n    end\n\nYou can override the output directory with the `output` option:\n\n    guard 'redcarpet', :output =\u003e 'compiled' do\n      watch(/^.+(\\.html\\.markdown)$/)\n      watch(/^.+(\\.html\\.md)$/)\n    end\n\n### Markdown and Render options\n\nOptions for the `Redcarpet::Markdown` and `Redcarpet::Render::HTML` objects can be\nprovided via the `markdown_options` and `render_options` options respectively.\n\n    guard 'redcarpet', :markdown_options =\u003e { :strikethrough =\u003e true } do\n      watch(/^.+(\\.html\\.markdown)$/)\n      watch(/^.+(\\.html\\.md)$/)\n    end\n\n\n    guard 'redcarpet', :render_options =\u003e { :no_links =\u003e true } do\n      watch(/^.+(\\.html\\.markdown)$/)\n      watch(/^.+(\\.html\\.md)$/)\n    end\n\nConsult the Redcarpet 2.0 documentation for details.\n\n## Special Thanks\n\nMuch of the code for this gem was a direct port of the [guard-haml\ngem](https://github.com/manufaktor/guard-haml) by [Immanuel\nHäussermann](https://github.com/manufaktor)\n\n## Contribute\n\n* Hosted on [Github:\n  guard-redcarpet](https://github.com/SegFaultAX/guard-redcarpet)\n* Report issues, questions, or comments to the [issue\n  tracker](https://github.com/SegFaultAX/guard-redcarpet/issues)\n\n## License\n\nCopyright (c) 2011 Michael-Keith Bernard\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsegfaultax%2Fguard-redcarpet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsegfaultax%2Fguard-redcarpet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsegfaultax%2Fguard-redcarpet/lists"}