DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:svgembed

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
plugin:svgembed [2019-06-22 00:58]
Restless [Uploading SVG files via Media Manager]
plugin:svgembed [2019-07-11 21:36] (current)
Restless
Line 6: Line 6:
 email      : restlessmind@gmail.com ​ email      : restlessmind@gmail.com ​
 type       : helper, syntax type       : helper, syntax
-lastupdate : 2019-06-22 +lastupdate : 2019-07-10 
-compatible : Greebo+compatible : Greebo ​
 depends ​   :  depends ​   : 
 conflicts ​ :  conflicts ​ : 
 similar ​   :  similar ​   : 
-tags       : svg, media, images, ​image+tags       : svg, media, image, images, ​diagram, diagrams
  
 downloadurl:​ https://​github.com/​restlessminded/​dokuwiki-plugin-svgEmbed/​archive/​master.zip downloadurl:​ https://​github.com/​restlessminded/​dokuwiki-plugin-svgEmbed/​archive/​master.zip
Line 18: Line 18:
 donationurl: ​ donationurl: ​
  
-screenshot_img : +screenshot_img : https://​www.w3.org/​Icons/​SVG/​svg-logo-h.svg
 ---- ----
  
Line 28: Line 28:
 ==== Uploading SVG files via Media Manager ==== ==== Uploading SVG files via Media Manager ====
  
-As of this writing, DokuWiki does not allow you to upload SVG files by default This plugin will only embed SVG files that are uploaded to the wiki via the Media Manager for security'​s sake.  To do this, you may need to create or edit the ''​mime.local.conf''​ file for your wiki by adding this line:+As of this writing, DokuWiki does not allow you to upload SVG files by default This plugin will only embed SVG files that are uploaded to the wiki via the Media Manager for security'​s sake.  To do this, you may need to create or edit the ''​mime.local.conf''​ file for your wiki by adding this line:
  
 <code - conf/​mime.local.conf>​ <code - conf/​mime.local.conf>​
Line 42: Line 42:
  
 <​code>​ <​code>​
-{{:​some:​ns:​myfile.svg?<​arguments>​|<​Title>​}}+{{:​some:​ns:​myfile.svg?<​Arguments>​|<​Title>​}}
 </​code>​ </​code>​
  
 The SVG will be placed into your wiki page via an <​embed>​ tag rather than an <img> tag.  This allows for things such as elements with hyperlinks in the SVG to be clickable, etc., whereas embedding SVG as an image does not.  (Note that this depends on support in your browser.) The SVG will be placed into your wiki page via an <​embed>​ tag rather than an <img> tag.  This allows for things such as elements with hyperlinks in the SVG to be clickable, etc., whereas embedding SVG as an image does not.  (Note that this depends on support in your browser.)
  
 +
 +===== Development =====
  
 === Change Log === === Change Log ===
  
 +  * **2019-07-10**
 +    * Change to fix conflict with [[plugin:​imagemap|Imagemap]] plugin.
   * **2019-06-21**   * **2019-06-21**
     * Initial release     * Initial release
plugin/svgembed.1561157880.txt.gz · Last modified: 2019-06-22 00:58 by Restless