DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:a2s

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:a2s [2017-10-31 07:48] – version 2017-31-10 has interwiki links schplurtzplugin:a2s [2023-04-10 17:21] (current) – compatible with jack jackrum (tested) schplurtz
Line 1: Line 1:
-====== a2s Plugin ======+====== A2S Plugin ======
  
 ---- plugin ---- ---- plugin ----
Line 6: Line 6:
 email      : Schplurtz@laposte.net email      : Schplurtz@laposte.net
 type       : syntax type       : syntax
-lastupdate : 2017-10-23 +lastupdate : 2022-06-21 
-compatible : elenor of tsort, detritus, frusterick manners+compatible : elenor of tsort, detritus, frusterick manners, greebo, hogfather, igor, jack jackrum
 depends    :  depends    : 
 conflicts  conflicts 
Line 22: Line 22:
 a2s is a little plugin that turns ASCII art boxes, lines and arrows into nice SVG images. It is based on [[https://github.com/dhobsd/asciitosvg|ASCIIToSVG]] by [[https://github.com/dhobsd|Devon H. O'Dell]]. It is very similar to the [[doku>plugin:ditaa|ditaa]] plugin but does not require external programs to run. It is compatible with the ODT export plugin. a2s is a little plugin that turns ASCII art boxes, lines and arrows into nice SVG images. It is based on [[https://github.com/dhobsd/asciitosvg|ASCIIToSVG]] by [[https://github.com/dhobsd|Devon H. O'Dell]]. It is very similar to the [[doku>plugin:ditaa|ditaa]] plugin but does not require external programs to run. It is compatible with the ODT export plugin.
  
 +-----------
 +
 +june 2022: a2s works well with DW igor RC2 and php 8.1. But exports to odt with the [[plugin:odt|odt]] plugin currently fails. There is no problem with php 7.4. See this [[https://github.com/schplurtz/a2s/issues/13|bug report]]. 
 ===== Installation ===== ===== Installation =====
  
-Install the plugin using the [[doku>plugin:plugin|Plugin Manager]]. It will install the latest version of the plugin. Refer to [[doku>:Plugins]] on how to install plugins manually.+Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually.
  
 ===== Examples/Usage ===== ===== Examples/Usage =====
Line 303: Line 306:
 :!: No. As of 2017/07/27, unless you are the a developer of dw2pdf or mpdf, its PDF library, there is nothing to do. Sorry. :!: No. As of 2017/07/27, unless you are the a developer of dw2pdf or mpdf, its PDF library, there is nothing to do. Sorry.
  
 +:?: Is it possible to alter the line color using css or a configuration value? under the bootstrap / bootswatch / cyborg theme which is dark the lines are black on a black background. 
 +For now I've just worked around it using the following in a less css file to alter the background color 
 +<code> 
 +&.cyborg { 
 +  svg.a2s { 
 +    background-color:#303030; 
 +  } 
 +
 +</code>
plugin/a2s.1509432510.txt.gz · Last modified: 2017-10-31 07:48 by schplurtz

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