Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2024-05-03 - pandoc で変換と再変換かけたらいろんなものの formatter になったりせんやろか #291

Closed
kachick opened this issue May 3, 2024 · 1 comment

Comments

@kachick
Copy link
Owner

kachick commented May 3, 2024

kachick/anylang-template#92 でうへーと思ってなんか楽な方法は無いかと考えてたら思いついた。ぐぐると vim-autoformat/vim-autoformat#265 とかが見つかるので、可能性はありそう
完全上位互換な中間形式がないと難しいだろうけども・・・

@kachick kachick closed this as completed May 3, 2024
@kachick
Copy link
Owner Author

kachick commented Jun 12, 2024

pandoc がどうしてるのかはわからないけど、この手のを単純に読み込んで再出力するとコメント部分が完全欠落しがちなのでフォーマッターとしてはいまいちな話になるんだよなというのを思い出した

(初期のyamlfmtがそうだったのと、フォーマッターではないけど alacritty が YAML から TOML へ変える際に提供してくれたマイグレーションツールがそんな感じだった)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant