dokuwiki-plugin-markdownextra icon indicating copy to clipboard operation
dokuwiki-plugin-markdownextra copied to clipboard

.md sites editable in Firefox but not in Chrome

Open MatthiasKauer opened this issue 9 years ago • 4 comments

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

MatthiasKauer avatar May 27 '15 11:05 MatthiasKauer

@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...

KeiroD avatar Mar 12 '16 12:03 KeiroD

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.

MatthiasKauer avatar Mar 17 '16 06:03 MatthiasKauer

@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.

KeiroD avatar Apr 19 '16 10:04 KeiroD

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

MatthiasKauer avatar Apr 19 '16 18:04 MatthiasKauer