{"id":15130869,"url":"https://github.com/cybercase/showdown-target-blank","last_synced_at":"2025-07-09T19:40:35.950Z","repository":{"id":30962206,"uuid":"34520357","full_name":"cybercase/showdown-target-blank","owner":"cybercase","description":"Showdown extension that adds target=\"_blank\" as attribute to every link in your rendered markdown text","archived":false,"fork":false,"pushed_at":"2016-03-25T14:08:23.000Z","size":23,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-21T01:08:11.501Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/cybercase.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":"2015-04-24T13:31:54.000Z","updated_at":"2020-03-16T05:37:36.000Z","dependencies_parsed_at":"2022-09-06T22:21:52.606Z","dependency_job_id":null,"html_url":"https://github.com/cybercase/showdown-target-blank","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/cybercase/showdown-target-blank","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cybercase%2Fshowdown-target-blank","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cybercase%2Fshowdown-target-blank/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cybercase%2Fshowdown-target-blank/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cybercase%2Fshowdown-target-blank/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cybercase","download_url":"https://codeload.github.com/cybercase/showdown-target-blank/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cybercase%2Fshowdown-target-blank/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264502494,"owners_count":23618619,"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-09-26T03:07:38.136Z","updated_at":"2025-07-09T19:40:35.894Z","avatar_url":"https://github.com/cybercase.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Showdown's Target Blank Extension\n==========================\n\n**Target Blank extension for [showdown](https://github.com/showdownjs/showdown)**\n\nAdds support for:\n\n    [somelink](https://some.url.com/some/path) -\u003e \u003ca target=\"_blank\" href=\"...\" \u003esomelink\u003c/a\u003e\n\n## Installation\n\n### With [npm](http://npmjs.org)\n\n    npm install showdown-target-blank\n\n### With [bower](http://bower.io/)\n\n    bower install showdown-target-blank\n\n### Manual\n\nYou can also [download the latest release zip or tarball](https://github.com/cybercase/showdown-target-blank/releases) and include it in your webpage, after showdown:\n\n    \u003cscript src=\"showdown.min.js\"\u003e\n    \u003cscript src=\"showdown-target-blank.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: ['targetblank']});\n\n## Example\n\n```javascript\nvar converter = new Showdown.converter({extensions: ['targetblank']}),\n    input = 'This is a [link](http://www.example.com)',\n    html = converter.makeHtml(input);\n    console.log(html);\n```\n\nThis should output:\n\n```html\n\u003cp\u003eThis is a \u003ca target=\"_blank\" href=\"http://example.com\"\u003elink\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/cybercase/showdown-target-blank/blob/master/LICENSE) in the source code.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcybercase%2Fshowdown-target-blank","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcybercase%2Fshowdown-target-blank","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcybercase%2Fshowdown-target-blank/lists"}