{"id":16619038,"url":"https://github.com/jasny/marked-more-lists","last_synced_at":"2025-04-23T03:30:23.531Z","repository":{"id":257815996,"uuid":"869743157","full_name":"jasny/marked-more-lists","owner":"jasny","description":"Marked extension for alphabetic and numeral lists","archived":false,"fork":false,"pushed_at":"2025-04-14T01:29:41.000Z","size":2300,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-19T03:16:42.620Z","etag":null,"topics":["markdown","markedjs"],"latest_commit_sha":null,"homepage":"","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/jasny.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}},"created_at":"2024-10-08T20:07:37.000Z","updated_at":"2025-04-14T01:29:37.000Z","dependencies_parsed_at":"2024-10-25T13:21:26.239Z","dependency_job_id":"6aa58e9f-ed76-4a24-b06d-f56087de0276","html_url":"https://github.com/jasny/marked-more-lists","commit_stats":null,"previous_names":["jasny/marked-more-lists"],"tags_count":1,"template":false,"template_full_name":"markedjs/marked-extension-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasny%2Fmarked-more-lists","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasny%2Fmarked-more-lists/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasny%2Fmarked-more-lists/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasny%2Fmarked-more-lists/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jasny","download_url":"https://codeload.github.com/jasny/marked-more-lists/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249678881,"owners_count":21309839,"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","markedjs"],"created_at":"2024-10-12T02:22:34.042Z","updated_at":"2025-04-23T03:30:23.505Z","avatar_url":"https://github.com/jasny.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# marked-more-lists\n\nThis extension for the [marked](https://marked.js.org/) library adds support for rendering ordered lists with various\n`type` attributes. It allows Markdown lists that start with `a.`, `A.`, `i.`, `I.`, and other patterns to be rendered\nas `\u003col\u003e` elements with corresponding `type` values (e.g., `\u003col type=\"a\"\u003e`).\n\nIt also adds support for lists that start with a custom value or that skips values, by using the `value` attribute on\nthe list item.\n\nThis enables more flexible list formatting in Markdown, enhancing the output to match the intended ordering style.\n\n# Usage\n\n```js\nimport {marked} from \"marked\";\nimport markedMoreLists from \"marked-more-lists\";\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-more-lists/lib/index.umd.js\"\u003e\u003c/script\u003e\n\nmarked.use(markedMoreLists());\n\nconst exampleMarkdown = `\n1. item 1\n2. item 2\n    a. item 2a\n        I.  sub item I\n        II. sub item II\n    e. item 2e\n7. item 7\n`;\n\nmarked.parse(exampleMarkdown);\n// \u003col\u003e\n//   \u003cli\u003eitem 1\u003c/li\u003e\n//   \u003cli\u003eitem 2\n//     \u003col type=\"a\"\u003e\n//       \u003cli\u003eitem 2a\u003c/li\u003e\n//       \u003col type=\"I\"\u003e\n//         \u003cli\u003esub item I\u003c/li\u003e\n//         \u003cli\u003esub item II\u003c/li\u003e\n//       \u003c/ol\u003e\n//       \u003cli value=\"5\"\u003eitem 2e\u003c/li\u003e\n//     \u003c/ol\u003e\n//   \u003c/li\u003e\n//   \u003cli value=\"7\"\u003eitem 7\u003c/li\u003e\n// \u003c/ol\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjasny%2Fmarked-more-lists","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjasny%2Fmarked-more-lists","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjasny%2Fmarked-more-lists/lists"}