{"id":20790724,"url":"https://github.com/markedjs/marked-smartypants","last_synced_at":"2025-07-03T19:33:51.383Z","repository":{"id":149902817,"uuid":"622460174","full_name":"markedjs/marked-smartypants","owner":"markedjs","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-16T03:44:46.000Z","size":2414,"stargazers_count":6,"open_issues_count":1,"forks_count":5,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-06-16T04:55:02.589Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/marked-smartypants","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/markedjs.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-04-02T07:10:42.000Z","updated_at":"2025-06-16T03:44:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"8e1b864f-e381-4446-8c1e-c449494601ba","html_url":"https://github.com/markedjs/marked-smartypants","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":"markedjs/marked-extension-template","purl":"pkg:github/markedjs/marked-smartypants","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markedjs%2Fmarked-smartypants","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markedjs%2Fmarked-smartypants/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markedjs%2Fmarked-smartypants/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markedjs%2Fmarked-smartypants/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/markedjs","download_url":"https://codeload.github.com/markedjs/marked-smartypants/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markedjs%2Fmarked-smartypants/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260101918,"owners_count":22959041,"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-17T15:37:10.191Z","updated_at":"2025-06-22T06:37:15.266Z","avatar_url":"https://github.com/markedjs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# marked-smartypants\n\nUse [smartypants](https://www.npmjs.com/package/smartypants) to easily translate plain ASCII punctuation characters into \"smart\" typographic punctuation HTML entities.\n\n# Usage\n\n```js\nimport { marked } from \"marked\";\nimport { markedSmartypants } from \"marked-smartypants\";\n\n// or UMD script\n// \u003cscript src=\"https://cdn.jsdelivr.net/npm/marked/lib/marked.umd.js\"\u003e\u003c/script\u003e\n// \u003cscript src=\"https://cdn.jsdelivr.net/npm/marked-smartypants/lib/index.umd.js\"\u003e\u003c/script\u003e\n\nmarked.use(markedSmartypants());\n\n// or optionally provide smartpants configuration\n// marked.use(markedSmartypants({ config: \"1\" }));\n\nmarked.parse(\"He said, -- \\\"A 'simple' sentence. . .\\\" --- unknown\");\n// \u003cp\u003eHe said, – “A ‘simple’ sentence…” — unknown\u003c/p\u003e\n```\n\nInformation on available smartypants configurations is available [here](https://github.com/othree/smartypants.js#options-and-configuration).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkedjs%2Fmarked-smartypants","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarkedjs%2Fmarked-smartypants","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkedjs%2Fmarked-smartypants/lists"}