You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Perhaps it would be better if everything were nested in a p tag when not already. I suspect this is how markdown does it, though it would be worth checking.
The text was updated successfully, but these errors were encountered:
Comment by rreusser Thursday May 25, 2017 at 22:19 GMT
Actually, checking over what github's markdown renderer does by inspecting this box, it seems the default is not to wrap in a p tag in most cases. A few sanity checks confirm that things basically make pretty good sense:
Test ⟶ <p>Test</p>
<p>Test</p> ⟶ <p>Test</p>
**Test** ⟶ <p><strong>Test</strong></p>
# **Test** ⟶ <h1><strong>Test</strong></h1>
Adding a line break between any one of the items of a list triggers wrapping each <li>'s content in a p tag. Otherwise they're bare.
Issue by rreusser
Saturday May 20, 2017 at 19:45 GMT
Originally opened as idyll-lang/idyll-compiler#20
p
tag nesting is a little inconsistent, which makes it challenging to manage formatting. For example,[li]test[/li]
--><li>test</li>
whereas:
[li]**test**[/li]
--><li><p><strong>test</strong></p></li>
Perhaps it would be better if everything were nested in a
p
tag when not already. I suspect this is how markdown does it, though it would be worth checking.The text was updated successfully, but these errors were encountered: