{"id":28911709,"url":"https://github.com/markdown-it/markdown-it-sup","last_synced_at":"2025-06-21T19:10:45.417Z","repository":{"id":25253638,"uuid":"28678617","full_name":"markdown-it/markdown-it-sup","owner":"markdown-it","description":"Superscript (\u003csup\u003e) tag plugin for markdown-it markdown parser ","archived":false,"fork":false,"pushed_at":"2023-12-05T13:47:42.000Z","size":15,"stargazers_count":26,"open_issues_count":2,"forks_count":18,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-06-11T03:37:22.694Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://markdown-it.github.io/","language":"JavaScript","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/markdown-it.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2015-01-01T01:35:29.000Z","updated_at":"2025-06-03T16:44:51.000Z","dependencies_parsed_at":"2023-12-18T18:28:32.448Z","dependency_job_id":"1369c2df-d53a-4540-af65-96c6541291c5","html_url":"https://github.com/markdown-it/markdown-it-sup","commit_stats":{"total_commits":10,"total_committers":4,"mean_commits":2.5,"dds":0.5,"last_synced_commit":"7a644d5276afa0229b569a8e8b789aa6f6325c1d"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markdown-it%2Fmarkdown-it-sup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markdown-it%2Fmarkdown-it-sup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markdown-it%2Fmarkdown-it-sup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markdown-it%2Fmarkdown-it-sup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/markdown-it","download_url":"https://codeload.github.com/markdown-it/markdown-it-sup/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markdown-it%2Fmarkdown-it-sup/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259262531,"owners_count":22830559,"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":"2025-06-21T19:09:38.543Z","updated_at":"2025-06-21T19:10:45.403Z","avatar_url":"https://github.com/markdown-it.png","language":"JavaScript","readme":"# markdown-it-sup\n\n[![CI](https://github.com/markdown-it/markdown-it-sup/actions/workflows/ci.yml/badge.svg)](https://github.com/markdown-it/markdown-it-sup/actions/workflows/ci.yml)\n[![NPM version](https://img.shields.io/npm/v/markdown-it-sup.svg?style=flat)](https://www.npmjs.org/package/markdown-it-sup)\n[![Coverage Status](https://img.shields.io/coveralls/markdown-it/markdown-it-sup/master.svg?style=flat)](https://coveralls.io/r/markdown-it/markdown-it-sup?branch=master)\n\n\u003e Superscript (`\u003csup\u003e`) tag plugin for [markdown-it](https://github.com/markdown-it/markdown-it) markdown parser.\n\n__v1.+ requires `markdown-it` v4.+, see changelog.__\n\n`29^th^` =\u003e `29\u003csup\u003eth\u003c/sup\u003e`\n\nMarkup is based on [pandoc](http://johnmacfarlane.net/pandoc/README.html#superscripts-and-subscripts) definition. But nested markup is currently not supported.\n\n\n## Install\n\nnode.js, browser:\n\n```bash\nnpm install markdown-it-sup --save\nbower install markdown-it-sup --save\n```\n\n## Use\n\n```js\nvar md = require('markdown-it')()\n            .use(require('markdown-it-sup'));\n\nmd.render('29^th^') // =\u003e '\u003cp\u003e29\u003csup\u003eth\u003c/sup\u003e\u003c/p\u003e'\n```\n\n_Differences in browser._ If you load script directly into the page, without\npackage system, module will add itself globally as `window.markdownitSup`.\n\n\n## License\n\n[MIT](https://github.com/markdown-it/markdown-it-sup/blob/master/LICENSE)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkdown-it%2Fmarkdown-it-sup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarkdown-it%2Fmarkdown-it-sup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkdown-it%2Fmarkdown-it-sup/lists"}