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-danger {
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>?
See this example
This is a text
<<info "I love Tiddlywiki for its simplicity">>
This is another text!
It seems when TW render the below wikitext it also wrap this into extra
paragraph
-*Mohammad*
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/1df9e7db-df09-4ddf-8855-a1330248b043%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.