Closed azu closed 9 years ago
発展した考えてとしてGrossary.mdと連携してなんかできると良さそう
SUMMARY Parse が公式にあった
他のプロジェクトにも転用が形にしたい = run.jsみたいのは取り除きたい
gulpでやるのは何かびみょい。 pipeでやるにはxargs。JavaScriptらしい解決策があると良い
azu/gitbook-summary-to-path SUMMARY.md => a.md b.mdとか吐くのを書いた
npm install -D textlint textlint-rule-no-todo gitbook-summary-to-path
$(npm bin)/summary-to-path SUMMARY.md | xargs $(npm bin)/textlint --rule no-todo
とかできる
gulpとかは必要になったら書こう
https://github.com/azu/textlint とtech wordの辞書を用意する。
textlintは何経由?CLI、gulp、Node.js script