Markdown Pluging Surrounding List Items With Paragraph

67 views
Skip to first unread message

Kevin Kleinfelter

unread,
May 27, 2020, 12:45:21 PM5/27/20
to TiddlyWiki
I'm trying to switch from the Anstosa Markdown plugin to the standard Markdown plugin.  One show-stopper is that the standard Markdown plugin is adding <p></p> tags inside list elements.  This separates the items in bullet lists with way too much space.

e.g. Markdown content of

* one
* two
* three

Generates HTML of:
--------
<ul>
  <li><p>one</p></li>
  <li><p>two</p></li>
  <li><p>three</p></li>
</ul>
-------

Is there a way to eliminate those specious <p>?
Alternatively, is there a clever way to use CSS to say that <p> elements within <li> add zero spacing to that provided by the <li>?

john roland

unread,
May 31, 2020, 1:08:39 AM5/31/20
to TiddlyWiki
This has been driving me mad. I had an older version (5.1.21) saved and noticed it does not have this issue, whereas 5.1.22 does. Anyone who is able to shed light on what changed much appreciated!

john roland

unread,
May 31, 2020, 1:19:42 AM5/31/20
to TiddlyWiki
There was an issue recently closed, look at robinmetral's comment four up from the bottom. I don't love the solution TBH but I don't understand enough of the conventions of web development to say my instinct is right, just that 'normal' tiddlers don't get the extra paragraph tags and the inconsistency aggravates my obsessive tendencies.

Glad to have a fix though -

https://github.com/Jermolene/TiddlyWiki5/issues/4592

Reply all
Reply to author
Forward
0 new messages