{"id":16630824,"url":"https://github.com/ravicious/clothmark","last_synced_at":"2026-04-18T23:34:53.326Z","repository":{"id":640047,"uuid":"281836","full_name":"ravicious/clothmark","owner":"ravicious","description":"An old project I did when I write a command-line utility. With ClothMark you can easily convert your files formatted with Markdown, Textile or BBCode to HTML files.","archived":false,"fork":false,"pushed_at":"2009-08-22T10:18:22.000Z","size":96,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-05T17:07:26.599Z","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/ravicious.png","metadata":{"files":{"readme":"README.rdoc","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":"2009-08-19T09:39:24.000Z","updated_at":"2016-03-28T08:09:16.000Z","dependencies_parsed_at":"2022-07-07T13:40:47.879Z","dependency_job_id":null,"html_url":"https://github.com/ravicious/clothmark","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/ravicious/clothmark","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ravicious%2Fclothmark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ravicious%2Fclothmark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ravicious%2Fclothmark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ravicious%2Fclothmark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ravicious","download_url":"https://codeload.github.com/ravicious/clothmark/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ravicious%2Fclothmark/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31988894,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"ssl_error","status_checked_at":"2026-04-18T20:23:29.375Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-12T04:49:27.140Z","updated_at":"2026-04-18T23:34:53.299Z","avatar_url":"https://github.com/ravicious.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"= ClothMark\n\nWith ClothMark you can easily convert your files formatted with Markdown, Textile or BBCode to HTML files.\n\nClothMark uses three awesome gems:\n* RedCloth[http://redcloth.org/]\n* BlueCloth[http://www.deveiate.org/projects/BlueCloth]\n* bb-ruby[http://github.com/cpjolicoeur/bb-ruby/]\n\n== Installation\n\n  gem sources -a http://gems.github.com\n  sudo gem install ravicious-clothmark\n\n== Usage\n\nBasic usage:\n\n  $ clothmark [input file]\n\nIt converts an input file to HTML using *Markdown* preprocessor. But you probably want to specify an output file or used preprocessor. Of course you can do this. Look here:\n\n  $ clothmark [input file] [-o output file] [-m markup language]\n\nQuick example:\n  \n  $ clothmark bb_code.txt -m bbcode -o forum_post.html\n\nIt converts the input file (bb_code.txt) to the HTML file (forum_post.html) using BBCode preprocessor.\n\nWanna see help? No problem.\n  $ clothmark -h\n  Usage: clothmark [options]\n    -h, --help                       Display this screen\n    -i, --input FILE                 Specify input file (if it aren't specified, then first argument will be used)\n    -o, --output FILE                Specify output file\n    -ah, --additional-html           Specify, do additional HTML and CSS will be used (default - false)\n    -m, --markup LANG                Specify markup language (markdown, textile or bbcode, default is markdown)\n\nAs you see, there are four arguments:\n* -i or --input which specifies input file. If it isn't typed, then first argument will be used as an input file. This argument is required.\n* -o or --output which specifies output file. You don't have to specify it, because ClothMark generates filename for output file automatically.\n* -m or --markup which specifies markup language. If you don't specify it, then Markdown will be used as a choosed language.\n* -ah or --additional-html which specifies, do additional HTML and CSS will be used. Default is set to false, but you can set it to true, just type this argument.\n\nAll files will be created in the folder that contains a input file, e.g:\n\n  $ clothmark posts/forum_post2 -m bbcode\n  \nIn this case, the forum\\_post2.html file will be created in the _posts_ folder.\n\n== Note on Patches/Pull Requests\n \n* Fork the project.\n* Make your feature addition or bug fix.\n* Add tests for it (RSpec). This is important so I don't break it in a\n  future version unintentionally.\n* Commit, do not mess with rakefile, version, or history.\n  (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)\n* Send me a pull request. Bonus points for topic branches.\n\n== Copyright\n\nCopyright (c) 2009 Rafal Cieslak. See LICENSE for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fravicious%2Fclothmark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fravicious%2Fclothmark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fravicious%2Fclothmark/lists"}