{"id":26743898,"url":"https://github.com/tylingsoft/markdown-it-highlight","last_synced_at":"2025-04-14T18:52:02.099Z","repository":{"id":88513944,"uuid":"83119876","full_name":"tylingsoft/markdown-it-highlight","owner":"tylingsoft","description":"highlight.js plugin for markdown-it","archived":false,"fork":false,"pushed_at":"2017-12-18T13:45:40.000Z","size":118,"stargazers_count":8,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-04-26T03:44:09.465Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/tylingsoft.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":"2017-02-25T09:02:34.000Z","updated_at":"2024-06-18T21:28:47.091Z","dependencies_parsed_at":null,"dependency_job_id":"4626da6c-be02-48fc-a6d0-d27e0fa292a4","html_url":"https://github.com/tylingsoft/markdown-it-highlight","commit_stats":{"total_commits":12,"total_committers":1,"mean_commits":12.0,"dds":0.0,"last_synced_commit":"33e96b20678caeb011316c584bf2ad1aee13671f"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tylingsoft%2Fmarkdown-it-highlight","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tylingsoft%2Fmarkdown-it-highlight/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tylingsoft%2Fmarkdown-it-highlight/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tylingsoft%2Fmarkdown-it-highlight/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tylingsoft","download_url":"https://codeload.github.com/tylingsoft/markdown-it-highlight/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248941569,"owners_count":21186916,"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-03-28T07:16:49.109Z","updated_at":"2025-04-14T18:52:02.073Z","avatar_url":"https://github.com/tylingsoft.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# markdown-it-highlight\n\nhighlight.js plugin for [markdown-it](https://github.com/markdown-it/markdown-it).\n\n\n## install\n\n```\nyarn add markdown-it-highlight\n```\n\n\n## usage\n\n### for node.js\n\n```js\nimport markdownIt from 'markdown-it'\nimport markdownItHighlight from 'markdown-it-highlight'\n\nconst mdi = markdownIt()\nmdi.use(markdownItHighlight)\n\nmdi.render(`\n    print 'hello world'\n`) // \u003cpre\u003e\u003ccode\u003eprint 'hello world'\u003c/code\u003e\u003c/pre\u003e\n```\n\n### for browser\n\nYou also need to import the css:\n\n```js\nimport 'markdown-it-highlight/dist/index.css'\n```\n\nOr you can add the css to the web page directly.\n\n\n## Development\n\n### Build\n\n```\nyarn build:watch\n```\n\n### Test\n\n```\nyarn test\n```\n\n### Distribution\n\n```\nyarn release \u0026\u0026 npm publish\n```\n\n\n## Todo\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftylingsoft%2Fmarkdown-it-highlight","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftylingsoft%2Fmarkdown-it-highlight","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftylingsoft%2Fmarkdown-it-highlight/lists"}