Markdown parser bug

99 views
Skip to first unread message

Meta

unread,
Apr 23, 2017, 10:57:17 PM4/23/17
to TiddlyWiki
Hello, first post here. First of all, thank you Jeremy and all other developers for this marvelous tool. It's transformed the way I write.

I'm running into a bug with the markdown parser. It renders text in the tiddler body fine, but it seems to be throwing errors when it is called from other contexts. I get the error "Uncaught TypeError: this.processBlock is not a function" when:
  • I navigate to the "References" tab after pressing the "Info" button on any tiddler
  • I try to do anything with markdown tiddlers using the TIddlymap plugin, including its "make connections" button.

Neither of these errors occur when the markdown plugin is disabled, so I'm fairly sure it must be the culprit, but I was surprised not to find any other mentions of this bug on the web.

Thanks in advance for your help!

PMario

unread,
Apr 24, 2017, 3:11:15 AM4/24/17
to TiddlyWiki
Hi Meta,

I did try a vanilla TW with the markdown plugin installed. Everything works as expected. So I'm pretty sure, it's a side effect from a different plugin.

-mario

Meta

unread,
Apr 25, 2017, 11:23:50 PM4/25/17
to TiddlyWiki
Thanks, Mario. I've tried the same and can confirm you're right, it works as it should on a vanilla TW. However, I still experience the same problem in my tiddlywiki even with every other plugin disabled. Any hints on how to find the offending tiddler that is causing the markdown plugin to malfunction?

PMario

unread,
Apr 26, 2017, 10:52:19 AM4/26/17
to TiddlyWiki
On Wednesday, April 26, 2017 at 5:23:50 AM UTC+2, Meta wrote:
Thanks, Mario. I've tried the same and can confirm you're right, it works as it should on a vanilla TW. However, I still experience the same problem in my tiddlywiki even with every other plugin disabled. Any hints on how to find the offending tiddler that is causing the markdown plugin to malfunction?

hmm, not really. .... The only way I can think of is:

 - open the ControlPanel: Info: Basic
 - have a look at "Number of overridden shadow tiddlers:"
 - show them

May be one or some of the core tiddlers are overwritten ....

-m
Reply all
Reply to author
Forward
0 new messages