{"id":16880054,"url":"https://github.com/mb21/markdown-it-bracketed-spans","last_synced_at":"2025-03-22T07:32:09.674Z","repository":{"id":57291217,"uuid":"158604256","full_name":"mb21/markdown-it-bracketed-spans","owner":"mb21","description":"Span (\u003cspan\u003e) tag plugin for markdown-it markdown parser","archived":false,"fork":false,"pushed_at":"2018-12-01T15:57:32.000Z","size":2,"stargazers_count":18,"open_issues_count":2,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-18T09:37:41.622Z","etag":null,"topics":["markdown-it-plugin"],"latest_commit_sha":null,"homepage":null,"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/mb21.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":"2018-11-21T20:46:39.000Z","updated_at":"2024-06-13T05:24:32.000Z","dependencies_parsed_at":"2022-09-01T13:52:38.840Z","dependency_job_id":null,"html_url":"https://github.com/mb21/markdown-it-bracketed-spans","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mb21%2Fmarkdown-it-bracketed-spans","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mb21%2Fmarkdown-it-bracketed-spans/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mb21%2Fmarkdown-it-bracketed-spans/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mb21%2Fmarkdown-it-bracketed-spans/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mb21","download_url":"https://codeload.github.com/mb21/markdown-it-bracketed-spans/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244925175,"owners_count":20532873,"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":["markdown-it-plugin"],"created_at":"2024-10-13T15:57:07.142Z","updated_at":"2025-03-22T07:32:09.353Z","avatar_url":"https://github.com/mb21.png","language":"JavaScript","readme":"# markdown-it-bracketed-spans\n\nSpan tag plugin for [markdown-it markdown parser](https://github.com/markdown-it/markdown-it).\n\nMarkup is based on [pandoc `bracketed_spans` extension](http://pandoc.org/MANUAL.html#extension-bracketed_spans),\nfor example:\n\n    paragraph with [a span]{.myClass}\n\nMust be used together with the [markdown-it-attrs plugin](https://github.com/arve0/markdown-it-attrs)\n(that's a peer dependency).\n\n\n## Usage\n\n```javascript\nvar md = require('markdown-it')()\n            .use( require('markdown-it-bracketed-spans') )\n            .use( require('markdown-it-attrs') )\n\nvar output = md.render('foo [bar *bar*]{#id .class attr=value} baz')\n```\n\nOutput will be:\n\n```html\n\u003cp\u003e\n  foo\n  \u003cspan id=\"id\" class=\"class\" attr=\"value\"\u003e\n    bar \u003cem\u003ebar\u003c/em\u003e\n  \u003c/span\u003e\n  baz\n\u003c/p\u003e\n```\n","funding_links":[],"categories":["markdown-it-attrs"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmb21%2Fmarkdown-it-bracketed-spans","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmb21%2Fmarkdown-it-bracketed-spans","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmb21%2Fmarkdown-it-bracketed-spans/lists"}