Skip to content

Markdown to DokuWiki - External Images #1739

@randomessence

Description

@randomessence

Image links using an external URL for the image (github for example) have a : at the start of the URL breaking the code. For an external URL it should not have the first : in this {{:http...

Proof of the issue:

We take this image:

https://raw.githubusercontent.com/adam-p/markdown-here/master/src/common/images/icon48.png

For example, embedded using Markdown:

A test image

Here is the code:

![A test image](https://raw.githubusercontent.com/adam-p/markdown-here/master/src/common/images/icon48.png)

Then go here:

http://johnmacfarlane.net/pandoc/try/?text=&from=markdown&to=dokuwiki

Convert the above image code to Dokuwiki Syntax.

Then go use it here:

https://www.softaculous.com/demos/DokuWiki

And use the code in a demo post. the demo uses Hrun

You will get this code, it does not work:

{{:https://raw.githubusercontent.com/adam-p/markdown-here/master/src/common/images/icon48.png| A test image}}

Working code:

{{https://raw.githubusercontent.com/adam-p/markdown-here/master/src/common/images/icon48.png| A test image}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions