Tiddlywiki5: markdown plugin does not work with links with '

Created on 5 Feb 2018  路  21Comments  路  Source: Jermolene/TiddlyWiki5

Something like [foo](It's about me) does not work. And this [foo](It about me) does

Most helpful comment

@somenxavier Thank you for the clarification. This is indeed a bug:

screenshot

I can also confirm this is not a bug with TiddlyWiki but a bug with the markdown parser we use as evident by this JSBin.

Oh and @somenxavier you have already submitted a bug report.

All 21 comments

The problem is that [foo](It's about me) is not valid markdown. In fact neither is [foo](It about me) which seem just coincidence that it works because I would not expect it to.

The part inside the parentheses needs to be a URL and URLs do not have spaces. Perhaps something like this: [foo](#It's%20about%20me) would work?

Let's be clear:

  • Create a tiddler called It's time which has a permalink https://tiddlywiki.com/#It's%20time
  • How to link to it from markdown tiddlers? With [foo](#It's%20time)
  • It does not work because the link has '

@somenxavier Thank you for the clarification. This is indeed a bug:

screenshot

I can also confirm this is not a bug with TiddlyWiki but a bug with the markdown parser we use as evident by this JSBin.

Oh and @somenxavier you have already submitted a bug report.

@sukima thanks for confirming the bug. We are dependent of that bug report of markdown parser so. I did not remember that. I hope this will get solved fast

@pmario : Can I install it and remove the markdown official plugin? After drag and drop I cannot use it. It does not appear in plugins list.

Can I install it and remove the markdown official plugin?

Yea first remove the other plugin.
Download an empty.html and try again

@pmario How can I do this exactly: remove old plugin and install new plugin?

@pmario Perhaps tiddlywiki could remove markdown-official-plugin and put it markdown-it as official, couldn't?

Can I install it and remove the markdown official plugin?

Yea first remove the other plugin.
Download an empty.html and try again

It doesn't work: no +Markdown button, and no "Markdown" in type after applying to empty.html. Please try it:

  1. Download empty.html
  2. Install your plugin
  3. You cannot add a markdown page

I did just test it. It seems to work for me. ... Did you save and reload the TW, after importing the plugin.

  • I did open the ControlPanel: Plugins tab
  • Opened a second window with empty.html
  • dragged the md plugin onto empty.
  • import
  • save
  • reload

I did just test it. It seems to work for me. ... Did you save and reload the TW, after importing the plugin.

I did open the ControlPanel: Plugins tab
Opened a second window with empty.html
dragged the md plugin onto empty.
import
save
reload

Do you do that in tiddlydesktop? In firefox it does not run because Apocalypse

Do you do that in tiddlydesktop? In firefox it does not run because Apocalypse

I use FireFox 99% of the time. V58.0.2 atm

In firefox I can't get that it saves me tiddlywiki empty changes: v 58.0.2 also: change title in GettingStarted -> save button -> dialog of "save as" -> cancel -> reload -> the same title again

In firefox I can't get that it saves me tiddlywiki empty changes: v 58.0.2 also: change title in GettingStarted -> save button -> dialog of "save as" -> cancel -> reload -> the same title again

hmmm, If you "cancel" the save request, why should it save something?

It needs to be: save button -> dialog "save as" -> overwrite existing empty.html -> reload (optional)

If you want to skip the "save as" dialog, you could use my FF browser plugin file-backups, which will overwrite existing files .... BUT be aware modern browsers only let us save to the browser Downloads directory and subdirectories. ....

Now I install this plugin (see shot) but I can't use Markdown in types
captura de pantalla_2018-02-27_17-19-20
captura de pantalla_2018-02-27_17-18-26

hmmm, That's strange. ... What does ControlPanel: Plugins Tab show?

captura de pantalla_2018-02-28_15-03-21
It does not appear in Plugins Tab

I think we could issue this as a separate issue: https://github.com/Jermolene/TiddlyWiki5/issues/3141

Was this page helpful?
0 / 5 - 0 ratings

Related issues

saqimtiaz picture saqimtiaz  路  5Comments

twMat picture twMat  路  4Comments

saqimtiaz picture saqimtiaz  路  5Comments

joshuafontany picture joshuafontany  路  5Comments

twMat picture twMat  路  5Comments