{"id":20313280,"url":"https://github.com/showdownjs/twitter-extension","last_synced_at":"2025-06-12T23:05:30.341Z","repository":{"id":25363862,"uuid":"28791762","full_name":"showdownjs/twitter-extension","owner":"showdownjs","description":"Twitter extension for Showdown","archived":false,"fork":false,"pushed_at":"2017-01-27T20:55:19.000Z","size":23,"stargazers_count":5,"open_issues_count":1,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-05-11T18:01:40.493Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/showdownjs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2015-01-05T01:14:25.000Z","updated_at":"2024-03-10T08:22:38.000Z","dependencies_parsed_at":"2022-08-26T16:32:51.336Z","dependency_job_id":null,"html_url":"https://github.com/showdownjs/twitter-extension","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/showdownjs/twitter-extension","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/showdownjs%2Ftwitter-extension","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/showdownjs%2Ftwitter-extension/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/showdownjs%2Ftwitter-extension/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/showdownjs%2Ftwitter-extension/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/showdownjs","download_url":"https://codeload.github.com/showdownjs/twitter-extension/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/showdownjs%2Ftwitter-extension/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259322762,"owners_count":22840467,"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-11-14T18:10:17.684Z","updated_at":"2025-06-12T23:05:29.949Z","avatar_url":"https://github.com/showdownjs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Showdown's Twitter Extension\n==========================\n\n[![Build Status](https://travis-ci.org/showdownjs/twitter-extension.svg)](https://travis-ci.org/showdownjs/twitter-extension) [![npm version](https://badge.fury.io/js/showdown-twitter.svg)](http://badge.fury.io/js/showdown-twitter) [![npm version](https://badge.fury.io/bo/showdown-twitter.svg)](http://badge.fury.io/bo/showdown-twitter) \n\n------\n\n**Twitter extension for [showdown](https://github.com/showdownjs/showdown)**\n\nAdds support for:\n\n    @username   -\u003e  \u003ca href=\"http://twitter.com/username\"\u003e@username\u003c/a\u003e\n    #hashtag    -\u003e  \u003ca href=\"http://twitter.com/search/%23hashtag\"\u003e#hashtag\u003c/a\u003e\n\n\n## Installation\n\n### With [npm](http://npmjs.org)\n\n    npm install showdown-twitter\n\n### With [bower](http://bower.io/)\n\n    bower install showdown-twitter\n\n### Manual\n\nYou can also [download the latest release zip or tarball](https://github.com/showdownjs/twitter-extension/releases) and include it in your webpage, after showdown:\n\n    \u003cscript src=\"showdown.min.js\"\u003e\n    \u003cscript src=\"showdown-twitter.min.js\"\u003e\n\n### Enabling the extension\n\nAfter including the extension in your application, you just need to enable it in showdown.\n\n    var converter = new showdown.Converter({extensions: ['twitter']});\n\n## Example\n\n```javascript\nvar converter = new showdown.Converter({extensions: ['twitter']}),\n    input = 'This is a tweet from @showdownjs with the hashtag #showdownRules',\n    html = converter.makeHtml(input);\n    console.log(html);\n```\n\nThis should output:\n\n```html\n\u003cp\u003eThis is a tweet from \u003ca href=\"http://twitter.com/showdownjs\"\u003e@showdownjs\u003c/a\u003e with the hashtag \u003ca href=\"http://twitter.com/search/%23showdownRules\"\u003e#showdownRules\u003c/a\u003e\u003c/p\u003e\n```\n\n## License\nThese files are distributed under BSD license. For more information, please check the [LICENSE file](https://github.com/showdownjs/twitter-extension/blob/master/LICENSE) in the source code.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshowdownjs%2Ftwitter-extension","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshowdownjs%2Ftwitter-extension","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshowdownjs%2Ftwitter-extension/lists"}