{"id":20313269,"url":"https://github.com/showdownjs/table-extension","last_synced_at":"2025-04-11T16:52:01.447Z","repository":{"id":25363811,"uuid":"28791711","full_name":"showdownjs/table-extension","owner":"showdownjs","description":"Add markdown table flavor to showdown","archived":false,"fork":false,"pushed_at":"2015-11-20T16:20:10.000Z","size":27,"stargazers_count":18,"open_issues_count":1,"forks_count":13,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-05-09T13:14:41.689Z","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:12:38.000Z","updated_at":"2024-03-10T08:22:22.000Z","dependencies_parsed_at":"2022-08-26T15:41:05.041Z","dependency_job_id":null,"html_url":"https://github.com/showdownjs/table-extension","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/showdownjs%2Ftable-extension","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/showdownjs%2Ftable-extension/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/showdownjs%2Ftable-extension/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/showdownjs%2Ftable-extension/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/showdownjs","download_url":"https://codeload.github.com/showdownjs/table-extension/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248443145,"owners_count":21104349,"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:15.675Z","updated_at":"2025-04-11T16:52:01.420Z","avatar_url":"https://github.com/showdownjs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Showdown's Table Extension\n==========================\n\n[![Build Status](https://travis-ci.org/showdownjs/table-extension.svg)](https://travis-ci.org/showdownjs/table-extension) [![npm version](https://badge.fury.io/js/showdown-table.svg)](http://badge.fury.io/js/showdown-table) [![npm version](https://badge.fury.io/bo/showdown-table.svg)](http://badge.fury.io/bo/showdown-table) \n\n------\n\n# IMPORTANT NOTICE\n\n**THIS EXTENSION IS DEPRECATED**\n\nAs of showdown v 1.2.0, table support was moved into core as an opt-in feature making this extension obsolete.\nAs such, this extension will not receive further updates.\n\n-----\n**Add markdown table flavor to [showdown](https://github.com/showdownjs/showdown)**\n\nAdds support for:\n\n    | Col 1   | Col 2                                              |\n    |======== |====================================================|\n    |**bold** | ![Valid XHTML] (http://w3.org/Icons/valid-xhtml10) |\n    | Plain   | Value                                              |\n\n\n\n## Installation\n\n### With [npm](http://npmjs.org)\n\n    npm install showdown-table\n\n### With [bower](http://bower.io/)\n\n    bower install showdown-table\n\n### Manual\n\nYou can also [download the latest release zip or tarball](https://github.com/showdownjs/table-extension/releases) and include it in your webpage, after showdown:\n\n    \u003cscript src=\"showdown.min.js\"\u003e\n    \u003cscript src=\"showdown-table.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: ['table']});\n\n## Example\n\n```javascript\nvar converter = new showdown.Converter({extensions: ['table']}),\n    input = '| Col 1   | Col 2                                              |' +\n            '|======== |====================================================|' +\n            '|**bold** | ![Valid XHTML] (http://w3.org/Icons/valid-xhtml10) |' +\n            '| Plain   | Value                                              |';\n    html = converter.makeHtml(input);\n    console.log(html);\n```\n\nThis should output the equivalent to:\n\n```html\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd\u003eCol 1\u003c/td\u003e\n    \u003ctd\u003eCol 2\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003cstrong\u003ebold\u003c/strong\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cimg alt=\"Valid XHTML\" src=\"http://w3.org/Icons/valid-xhtml10\"\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003ePlain\u003c/td\u003e\n    \u003ctd\u003eValue\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n```\n\n## License\nThese files are distributed under BSD license. For more information, please check the [LICENSE file](https://github.com/showdownjs/table-extension/blob/master/LICENSE) in the source code.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshowdownjs%2Ftable-extension","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshowdownjs%2Ftable-extension","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshowdownjs%2Ftable-extension/lists"}