解決したいこと
pugについて学習を始めたばかりで色々調べておりましたがインライン要素ごとに改行を入れたいときは上二つにパイプラインをする方法で合っているのか不安がありましたのでご教示のほどお願い致します。
自分で試したこと
2つ連なるパイプラインにしないとコンパイルされたとき、bodyの横にaリンクやimgがきてしまいます。
doctype html html(lang="ja") head meta(charset="UTF-8") meta(http-equiv="X-UA-Compatible", content="IE=edge") meta(name="viewport", content="width=device-width, initial-scale=1.0") title Document body | | a(href="https://twitter.com/" class="l-footer") Twitter | | a(href="https://www.google.com/") Google | | a(href="https://www.amazon.co.jp/") Amazon | | h1.heading テスト
あなたの回答
tips
プレビュー