私は現在、 http: //getkirby.comについて頭を悩ませており、非常に満足しています。Kirby に同梱されているMarkdown Extraを有効にして、div 要素内で Markdown を使用できるようにしました。
これは、次のように、テキストの個別の段落を作成する必要がある時点まではうまく機能します。
<div class="my-class" markdown="1">
This is the first paragraph
This is the second paragraph
</div>
次のようにレンダリングする代わりに:
<div class="my-class">
<p>This is the first paragraph</p>
<p>This is the second paragraph</p>
</div>
私はこの結果を得ます:
<div class="my-class">
<p>This is the first paragraph<br />
This is the second paragraph</p>
</div>
これは私が制御できる望ましい動作ですか、それともパーサーに何か問題がありますか?
前もってご協力いただきありがとうございます。