naokij / dokuwiki-plugin-markdownextra

Parses PHP Markdown Extra blocks for dokuwiki with backlinks, header parser, toc support
Other
31 stars 27 forks source link

.md sites editable in Firefox but not in Chrome #17

Open MatthiasKauer opened 9 years ago

MatthiasKauer commented 9 years ago

Hi, dokuwiki-newbie here. I have a new dokuwiki installation where I added this plugin. I then create a link to a markdown page by writing

[[computer:gitconfig.md]]

Now, I click this link in Firefox. I get the regular empty site shown and can create a new page using the meltdown editor as I would expect. If I do the same thing in Chrome, the page isn't rendered however. Instead, I see: dwiki_markdown1 This is the same text I see in Firefox, but none of the links are clickable in Chrome so I cannot create the new page as expected.

Any advice on how to proceed?

Cheers, Matthias

KeiroD commented 8 years ago

@MatthiasKauer Hi.

Seems you and I have very similar issues... I've yet to successfully get it to work properly in Chrome. As you noted, it seems to work in Firefox... in fact, I did not realize this was an issue until I came here to check out possible updates.

Alas, it seems this project's not been updated since 2013. I've tried my hand at trying to update things... but it seems that this plugin no longer works that great, even with the PR for PHP7 support.

I've forked it here but note that geshi syntax breaks the blasted thing, so you'd have to comment out #require(DOKU_INC . 'inc/geshi.php'); as such in markdown.php.

I'd merged the PHP7 code from the other PR. It seems to work pretty okay so far. I'll see what I can do in getting this thing updated... one way or another.

Edit: Sidenote: If you're itching to have a look, check out Emberberry's Wiki that I set up with the forked copy.

Edit2: Oh wait, it seems to be working fine... I was for some reason not realizing it was working...

MatthiasKauer commented 8 years ago

So it is working for you after all? I have since moved to another markdown plugin markdowku since I couldn't get this to work.

KeiroD commented 8 years ago

@MatthiasKauer what plugin did you switch to? I'd much prefer to work with one that doesn't require me to dig into it. :P

And yeah, it does, with the PHP7 code.

MatthiasKauer commented 8 years ago

I wound up with markdowku I believe, like I said.