Closed akabekobeko closed 3 years ago
オプション案。
autoLineBreaks: boolean
既定値は無効で false
--auto-line-breaks
使用頻度は高くなさそうなためショート ハンドは提供しない現行の実装では rehive-parse.ts
にて MDAST 系を静的に定義しているが、オプションにより構成を変更可能とするように設計変更する必要がある。
buildProcessorTestingCode
へ VFM オプションを渡せるようになったので改行の <br>
変換を想定したコードでは本 issue 対応時に必ず指定すること。オプション案の修正案 (See: https://github.com/vivliostyle/vfm/pull/64#issuecomment-762961582):
hardLineBreaks
--hard-line-breaks
村上さん案を #64 に採用しました。v1.0.0-alpha.16
にて反映予定です
Goals
Change hard line breaks to optional.
VFM will be based on CommonMark/GFM and will add its own syntax. When overwriting the function of CommonMark/GFM, it is treated as an option. Do not overwrite the function until the option is specified.
Prior Art
CommonMark/GFM
Discussion
Discussed and approved in Developers meeting January 2021.