inline html - usemap
Peter Watts
peter at nguyenwatts.com
Sun Feb 9 21:56:48 EST 2014
Hi All,
I am trying to add an image with clickable areas in the GitHub wiki using
inline html (pretty sure markdown doesn¹t support).
An example bit of code I have used is:
<div align="center">
<img height="85%"
src="../blob/master/UsefulDocs/images/paint-by-numbers.png?raw=true"
usemap="#wiki-kartta"/>
<map id="wiki-kartta" name="wiki-kartta">
<area shape="rect" coords="0,0,82,126" href="http://gilimanuk.com"/>
</map>
</div>
The following is what ends up in the html produced by gollum:
<div align="center">
<img height="85%"
src="../blob/master/UsefulDocs/images/paint-by-numbers.png?raw=true"
usemap="#wiki-kartta"><map id="wiki-kartta" name="wiki-kartta"><area
shape="rect" coords="0,0,82,126"></map>
</div>
Two things are happening:
* the image appears but isn¹t clickable
* The href is being removed
Any ideas?
Regards,
Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://six.pairlist.net/pipermail/markdown-discuss/attachments/20140210/56f182bc/attachment.htm>
More information about the Markdown-Discuss
mailing list