{"id":15357212,"url":"https://github.com/gera2ld/marked-input","last_synced_at":"2025-07-05T23:40:32.474Z","repository":{"id":77381484,"uuid":"63969777","full_name":"gera2ld/marked-input","owner":"gera2ld","description":"Marked input box","archived":false,"fork":false,"pushed_at":"2016-07-22T17:43:03.000Z","size":44,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-09T07:29:04.056Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://gera2ld.github.io/marked-input/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gera2ld.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2016-07-22T17:01:58.000Z","updated_at":"2016-07-22T17:23:19.000Z","dependencies_parsed_at":"2023-07-11T14:35:18.212Z","dependency_job_id":null,"html_url":"https://github.com/gera2ld/marked-input","commit_stats":{"total_commits":5,"total_committers":1,"mean_commits":5.0,"dds":0.0,"last_synced_commit":"936acb8bd0c65c9ed7b6b38c07018462d90c8a89"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/gera2ld/marked-input","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gera2ld%2Fmarked-input","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gera2ld%2Fmarked-input/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gera2ld%2Fmarked-input/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gera2ld%2Fmarked-input/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gera2ld","download_url":"https://codeload.github.com/gera2ld/marked-input/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gera2ld%2Fmarked-input/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263826447,"owners_count":23516763,"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-10-01T12:34:03.232Z","updated_at":"2025-07-05T23:40:32.456Z","avatar_url":"https://github.com/gera2ld.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Marked Input\n===\n![NPM](https://img.shields.io/npm/v/marked-input.svg)\n![Downloads](https://img.shields.io/npm/dt/marked-input.svg)\n\nMake your input box markable. Mark the unexpected text in your input box.\n\n[Demo](https://gera2ld.github.io/marked-input/)\n\nInstallation\n---\n``` sh\nnpm i marked-input\n```\n\nUsage\n---\n``` html\n\u003cstyle\u003e\n#input \u003e em {\n  background: yellow;\n  font-style: normal;\n}\n\u003c/style\u003e\n\u003cdiv id=\"input\"\u003e\u003c/div\u003e\n```\n\n``` js\n// Via NPM\nconst markedInput = require('marked-input');\n\n// Via global, you'll get global variable `markedInput`\n\nmarkedInput.init({\n  el: '#input',\n  splitText: 10,  // text longer than 10 chars will be marked\n  onChange: text =\u003e {\n    console.log(`Significant text: ${text}`);\n  },\n});\n```\n\nSnapshots\n---\n![MarkedInput](snapshots/1.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgera2ld%2Fmarked-input","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgera2ld%2Fmarked-input","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgera2ld%2Fmarked-input/lists"}