JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 898
  • Score
    100M100P100Q88335F
  • License ISC

run clang-format for code in markdown

Package Exports

  • remark-clang-format

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (remark-clang-format) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

remark-clang-format

Note

BREAKING: 2.1.1 version 关掉了对代码块的 lint,由于我们引入了 snippet

Install

npm install remark-clang-format

Usage

add "remark-clang-format" to "plugins" in .remarkrc

发布

yarn release 选择合适的版本号,推到 GitHub 上后 GitHub Actions 自动发布到 GitHub Releases 和 npm。

致谢

参考了 https://github.com/VincentBel/remark-pangu/https://github.com/angular/clang-format