Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bmann opened this issue Sep 17, 2021 · 5 comments
Open

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

bmann opened this issue Sep 17, 2021 · 5 comments

Comments

@bmann
Copy link
Contributor

bmann commented Sep 17, 2021

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
Copy link
Contributor

saqimtiaz commented Sep 17, 2021

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

  • Edit the config tiddler for the markdown plugin for renderWikiTextPragma
  • Make sure it includes prettylink
  • Save and reload the wiki

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

@saqimtiaz
Copy link
Contributor

saqimtiaz commented Sep 17, 2021

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

@linonetwo
Copy link
Contributor

linonetwo commented Nov 4, 2021

$:/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
Copy link
Contributor

Oh ,it needs a reload.

I think this should be the default...

@transce080
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants