WikiText with html codes in markdown format

I am using tiddlywiki 5.3.6 with markdown plugin.

The following tiddler is text/markdown type has html tag with WikiText. Only the third one can correctly render into links (i.e. with new empty lines after html tag).

The same content is working in text/vnd.tiddlywiki type.

Is this a bug in markdown plugin or desired feature?

<p>[[Barley]]</p>
<p>
[[Barley]]
</p>

<p>

[[Barley]]
</p>

the “readme” says:

HTML blocks are ultimately parsed by the WikiText parser: an opening tag followed by a blank line will activate block-level parsing for its content. When working with tags designed to contain literal content, such as <pre> and <style> tags, refrain from adding blank lines after the opening tags.

so I guess it is a feature.

1 Like

Thanks. Is it possible to disable this feature? I export markdown using external script which is hard to add new lines.

All your wikitext is TW wikitext and the P tags are redundant.

A markdown link looks like this: [](<#Barley>)


Have a look at the screenshot. You’ll see that the P tags are redundant

The specification for markdown HTML blocks are here: HTML blocks

The spec for links is at: Link syntax

1 Like

Thanks. Sorry for confusing. p tag just a demo. I used R to export a html table “[[Barley]]” and want to format wikitext between td tag.

But why do you use markdown, if you use TW wikitext syntax for links?