Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Yesod Web フレームワークを使い始めています。Hamlet コード構造に自動的に変換したい既存のテンプレート HTML コードがいくつかあります。これを行う方法はありますか?
これは、ほとんどの作業を行う可能性のあるソリューションです
perl -pe 'chomp' test.html | xmllint --format --encode UTF-8 - | perl -pe 's#</[^>]+>##g'
https://github.com/yesodweb/yesod/wiki/Hamletから