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:39]
Restless
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 25: Line 25:
 Install the plugin using the [[plugin:​plugin|Plugin Manager]] and the download URL above, which points to latest version of the plugin. Refer to [[:​Plugins]] on how to install plugins manually. Install the plugin using the [[plugin:​plugin|Plugin Manager]] and the download URL above, which points to latest version of the plugin. Refer to [[:​Plugins]] on how to install plugins manually.
  
-This plugin only embeds ​SVG files that are uploaded to the wiki via the Media Manager. ​ To do this, you may need to create or edit the ''​mime.local.conf''​ file for your wiki by adding this line:+ 
 +==== 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:
  
 <code - conf/​mime.local.conf>​ <code - conf/​mime.local.conf>​
Line 36: Line 39:
 ===== Usage ===== ===== Usage =====
  
-Upload an SVG ([[wp>​Scalable Vector Graphics]]) file via the Media Manager; external SVG files will not be handled by this plugin for security reasons. ​ Once you have done that, link it as you would any other image, e.g.,+Upload an SVG ([[wp>​Scalable Vector Graphics]]) file via the Media Manager; external SVG files will //not// be handled by this plugin for security reasons. ​ Once you have done that, [[:​wiki:​syntax#​media_files|link it as you would any other image or media file]], e.g.,
  
 <​code>​ <​code>​
-{{:​some:​ns:​myfile.svg?<​arguments>​|Title}}+{{:​some:​ns:​myfile.svg?<​Arguments>|<Title>}}
 </​code>​ </​code>​
  
Line 45: Line 48:
  
  
-=== Change Log ===+===== Development =====
  
-//​[preferable GitHub RSS feed or similar]//+=== 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.1561156769.txt.gz · Last modified: 2019-06-22 00:39 by Restless