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

Next revision
Previous revision
Next revisionBoth sides next revision
plugin:svgembed [2019-06-22 00:38] – created Restlessplugin:svgembed [2019-07-11 21:32] Restless
Line 1: Line 1:
-====== svgembed Plugin ======+====== svgEmbed Plugin ======
  
 ---- plugin ---- ---- plugin ----
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 
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.txt · Last modified: 2023-12-06 21:25 by Restless

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki