Assume I have a macro like below
\define info(text)
<div class="tc-doc-info">
<p>
$text$
</p>
</div>
\end
Where the tc-doc-info is a css class as below
.tc-doc-info{
padding-top: 0.01em;
padding-right: 16px;
padding-bottom: 0.01em;
padding-left: 16px;
background-color: #e7f3fe;
border-left: 6px solid #2196F3;
}
Do I need to include the <p> tag inside <div>? or I can define my macro like below
\define info(text)
<div class="tc-doc-info">$text$</div>
\end
See this example
This is a text
<<info "I love Tiddlywiki for its simplicity">>
This is another text!
It seems when TW renders the above wikitext it also wrap this into extra paragraph
-Mohammad