{"id":38527779,"url":"https://github.com/niemingzhao/hexo-renderer-markdown","last_synced_at":"2026-01-17T06:49:37.674Z","repository":{"id":28944970,"uuid":"119801349","full_name":"niemingzhao/hexo-renderer-markdown","owner":"niemingzhao","description":"Markdown-it renderer plugin for Hexo.","archived":false,"fork":false,"pushed_at":"2025-07-21T15:35:25.000Z","size":16,"stargazers_count":10,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-23T14:34:07.684Z","etag":null,"topics":["hexo","markdown","markdown-it","renderer"],"latest_commit_sha":null,"homepage":"https://github.com/niemingzhao/hexo-renderer-markdown","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/niemingzhao.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":"2018-02-01T07:43:29.000Z","updated_at":"2025-07-30T11:47:39.000Z","dependencies_parsed_at":"2024-06-21T02:28:46.943Z","dependency_job_id":null,"html_url":"https://github.com/niemingzhao/hexo-renderer-markdown","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"954ef2fd6fb7da8c20ce020c4b450fd63a7a38fd"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/niemingzhao/hexo-renderer-markdown","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niemingzhao%2Fhexo-renderer-markdown","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niemingzhao%2Fhexo-renderer-markdown/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niemingzhao%2Fhexo-renderer-markdown/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niemingzhao%2Fhexo-renderer-markdown/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/niemingzhao","download_url":"https://codeload.github.com/niemingzhao/hexo-renderer-markdown/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niemingzhao%2Fhexo-renderer-markdown/sbom","scorecard":{"id":686569,"data":{"date":"2025-08-11","repo":{"name":"github.com/niemingzhao/hexo-renderer-markdown","commit":"137243caa848c5a8e72f114edccda56121677549"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.9,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/8 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Pinned-Dependencies","score":3,"reason":"dependency not pinned by hash detected -- score normalized to 3","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npm-publish.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/niemingzhao/hexo-renderer-markdown/npm-publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npm-publish.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/niemingzhao/hexo-renderer-markdown/npm-publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npm-publish.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/niemingzhao/hexo-renderer-markdown/npm-publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npm-publish.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/niemingzhao/hexo-renderer-markdown/npm-publish.yml/master?enable=pin","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   2 out of   2 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Maintained","score":3,"reason":"4 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 3","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/npm-publish.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 4 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-22T01:02:14.579Z","repository_id":28944970,"created_at":"2025-08-22T01:02:14.579Z","updated_at":"2025-08-22T01:02:14.579Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28502944,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T04:31:57.058Z","status":"ssl_error","status_checked_at":"2026-01-17T04:31:45.816Z","response_time":85,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["hexo","markdown","markdown-it","renderer"],"created_at":"2026-01-17T06:49:37.611Z","updated_at":"2026-01-17T06:49:37.666Z","avatar_url":"https://github.com/niemingzhao.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hexo-renderer-markdown\n\nThis renderer plugin is inspired by [hexo-renderer-markdown-it](https://github.com/hexojs/hexo-renderer-markdown-it). It uses [Markdown-it](https://github.com/markdown-it/markdown-it) as a render engine on [Hexo](http://hexo.io) with more `markdown-it` plugins.\n\n## Main Features\n\n- Support for Markdown\n- Extensive Configuration\n- Faster than the default renderer | `hexo-renderer-marked`\n- [abbr](https://www.npmjs.com/package/markdown-it-abbr)\n- [anchor](https://www.npmjs.com/package/markdown-it-anchor)\n- [attrs](https://www.npmjs.com/package/markdown-it-attrs)\n- [checkbox](https://www.npmjs.com/package/markdown-it-checkbox)\n- [deflist](https://www.npmjs.com/package/markdown-it-deflist)\n- [emoji](https://www.npmjs.com/package/markdown-it-emoji)\n- [footnote](https://www.npmjs.com/package/markdown-it-footnote)\n- [ins](https://www.npmjs.com/package/markdown-it-ins)\n- [mark](https://www.npmjs.com/package/markdown-it-mark)\n- [sub](https://www.npmjs.com/package/markdown-it-sub)\n- [sup](https://www.npmjs.com/package/markdown-it-sup)\n- [katex](https://www.npmjs.com/package/markdown-it-texmath)\n\n## Installation\n\n```cmd\nnpm un hexo-renderer-marked --save\nnpm i hexo-renderer-markdown --save\n```\n\n## Configuration\n\nIf you want to change some settings, you can add the config to the main hexo `_config.yml` file.\n\n```yml\nmarkdown:\n  render:\n    html: true\n    xhtmlOut: false\n    breaks: true\n    langPrefix: language-\n    linkify: true\n    typographer: true\n    quotes: “”‘’\n  plugins:\n    markdown-it-anchor:\n      level: 1\n      permalink: false\n      slugify: function (s) {return encodeURIComponent(String(s).trim().toLowerCase().replace(/\\s+/g, \"-\"));} # String starting with 'function' will be parsed as a function that satisfies the plugin.\n      tabIndex: -1\n      uniqueSlugStartIndex: 1\n    markdown-it-attrs:\n      leftDelimiter: \"{\"\n      rightDelimiter: \"}\"\n      allowedAttributes: []\n    markdown-it-checkbox:\n      divWrap: false\n      divClass: checkbox\n      idPrefix: checkbox\n    markdown-it-texmath:\n      katexCssSrc: //cdn.jsdelivr.net/npm/katex/dist/katex.min.css\n      texmathCssSrc: //cdn.jsdelivr.net/npm/markdown-it-texmath/css/texmath.min.css\n      texmathDelimiters: dollars\n      throwOnError: false\n      errorColor: \"#cc0000\"\n      macros: { \"\\\\RR\": \"\\\\mathbb{R}\" }\n```\n\n## Disable `markdown-it` Plugins\n\nNow you can disable the default built-in plugins with giving them the setting `disabled: true`.\n\n## Add `markdown-it` Plugins\n\nIf you want to add a new `markdown-it-something` plugin, it's fairly simple.\n\n1. Install the plugin\n\n```cmd\nnpm i markdown-it-something --save\n```\n\n2. Config the `_config.yml`\n\n```yml\nmarkdown:\n  # ...\n  plugins:\n    markdown-it-something:\n      option_example: value_example\n      _parser: parser.use(require(pugs), pugs_opt) # This describes how to load the plugin because some plugins have nonstandard load style. The string will be 'eval' to execute. 'parser' - the markdown-it parser instance, 'pugs' - the plugin name, 'pugs_opt' - the plugin options.\n```\n\n## Bug Reports\n\nIf you have any bugs to report, you're welcome to file an [issue](https://github.com/niemingzhao/hexo-renderer-markdown/issues).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniemingzhao%2Fhexo-renderer-markdown","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fniemingzhao%2Fhexo-renderer-markdown","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniemingzhao%2Fhexo-renderer-markdown/lists"}