TiddlyWiki / TiddlyWiki5

A self-contained JavaScript wiki for the browser, Node.js, AWS Lambda etc.
https://tiddlywiki.com/
Other
8.05k stars 1.19k forks source link

[BUG] Markdown plugin doesn't render wiki links inside of Markdown #6045

Open bmann opened 3 years ago

bmann commented 3 years ago

Even with renderWikiText true and seemingly the correct renderWikiTextPragma, [[Wiki Links]] do not get rendered as links inside of Markdown tiddlers.

If CamelCase is turned on, CamelCase links ARE rendered.

This is reproducible on the MarkdownDemo site:

Screen Shot 2021-09-17 at 1 36 55 PM

See Talk TW thread for extended discussion https://talk.tiddlywiki.org/t/markdown-plugin-rendering-wikitext-links/772

saqimtiaz commented 3 years ago

Try this (but I will admit it has been quite some time since I looked at the relevant code):

There is an issue somewhere where the need for a configuration UX for the pragma for markdown was discussed.

saqimtiaz commented 3 years ago

In wikirules pragma: wikilink = CamelCase prettylink = [[title]] or [[label|title]]

linonetwo commented 3 years ago

$:/config/markdown/renderWikiTextPragma

\rules only html image macrocallinline syslink transcludeinline wikilink prettylink filteredtranscludeblock macrocallblock transcludeblock 

this is not working

截屏2021-11-04 下午1 37 57
linonetwo commented 3 years ago

Oh ,it needs a reload.

I think this should be the default...

transce080 commented 2 years ago

I also agree this should be the default. This is the expected behavior when renderWikiText is set to true.