Hi,
does anyone know of a way to have the content in a (custom) widget always rendered in block mode? If at all possible, I would like to avoid having to insert two line breaks after the widget's opening element.
Background: I'm using a custom widget to insert <div>s with the attribute "tabindex=-1" and an identifier attribute around sections of wikitext. I can the use the tm-focus-selector message to scroll the section into view on a button click. This way I can set up a tiddler ToC for long tiddlers that can navigate to individual sections. It's the next best thing to section links in TWC for me (if it were combined with tm-navigate).
<$sec title="Section Title">
Some wikitext, usually in the form of lists.
</$sec>
The title attribute is rendered as an H2, and the wikitext must be parsed in block mode in order for the lists to work. Currently, I need to insert an extra line break to achieve that, which reduces the readability of the wikitext in tiddlers with many sections.
Regards,
Yaisog