App-Basis-ConvertText2

 view release on metacpan or  search on metacpan

docs/README.html  view on Meta::CPAN

12345678
~~~~</code></pre>
<p><strong>Output</strong></p>
<p><img src='/tmp/kmulholland/cache/ct2/477d9962aab1e41cd81388a1b53aa4ce.png' height='50' width='131' /></p>
<h3 id="itf"><a name='12.7_itf'>12.7 ITF</a></h3>
<p><strong>Example</strong></p>
<pre><code>~~~~{.barcode type=&#39;ITF&#39;}
12345678
~~~~</code></pre>
<p><strong>Output</strong></p>
<p><img src='/tmp/kmulholland/cache/ct2/f5b80a3d645e49a0e04361a84f309d7a.png' height='50' width='81' /></p>
<h3 id="matrix2of5"><a name='12.8_matrix2of5'>12.8 Matrix2of5</a></h3>
<p><strong>Example</strong></p>
<pre><code>~~~~{.barcode type=&#39;Matrix2of5&#39;}
12345678
~~~~</code></pre>
<p><strong>Output</strong></p>
<p><img src='/tmp/kmulholland/cache/ct2/f7be15398790609e8c8f8b58b45f0a46.png' height='50' width='95' /></p>
<h3 id="nw7"><a name='12.9_nw7'>12.9 NW7</a></h3>
<p><strong>Example</strong></p>
<pre><code>~~~~{.barcode type=&#39;NW7&#39;}
12345678
~~~~</code></pre>
<p><strong>Output</strong></p>
<p><img src='/tmp/kmulholland/cache/ct2/ed9acf0286931ddd8fe783f5b170902a.png' height='50' width='96' /></p>
<h3 id="qr-code"><a name='12.10_qr_code'>12.10 QR code</a></h3>
<p>As qrcodes are now quite so prevalent, they have their own code-block type.</p>
<p>We can do qr codes, just put in anything you like, this is a URL for bbc news</p>
<p><strong>Example</strong></p>
<pre><code>~~~~{.qrcode }
http://news.bbc.co.uk
~~~~

To change the size of the barcode

~~~~{.qrcode height=&#39;80&#39;}
http://news.bbc.co.uk
~~~~

To use version 1

Version 1 only allows 15 characters

~~~~{.qrcode height=60 version=1}
smaller text..
~~~~

To change pixel size

~~~~{.qrcode pixels=5}
smaller text..
~~~~</code></pre>
<p><strong>Output</strong></p>
<p><img src='/tmp/kmulholland/cache/ct2/48521737e058cdceb967824b8191d7bf.png' height='66' width='66' /></p>
<p>To change the size of the barcode</p>
<p><img src='/tmp/kmulholland/cache/ct2/cbe37a7a8e523a70d94c177d093ac447.png' height='80' width='80' /></p>
<p>To use version 1</p>
<p>Version 1 only allows 15 characters</p>
<p><img src='/tmp/kmulholland/cache/ct2/506a46d9e4aa4fe5a177bf267a667290.png' height='60' width='60' /></p>
<p>To change pixel size</p>
<p><img src='/tmp/kmulholland/cache/ct2/ad6751a601e410d24d4154552d9dba0e.png' height='165' width='165' /></p>
<h2 id="yaml-convert-to-json"><a name='13_yaml_convert_to_json'>13 YAML convert to JSON</a></h2>
<p>Software engineers often use <a href="https://en.wikipedia.org/wiki/Json">JSON</a> to transfer data between systems, this often is not nice to create for documentation. <a href="https://en.wikipedia.org/wiki/Yaml">YAML</a> which is a superset of <...
<p><strong>Example</strong></p>
<pre><code>~~~~{.yamlasjson }
list:
  - array: [1,2,3,7]
    channel: BBC3
    date: 2013-10-20
    time: 20:30
  - array: [1,2,3,9]
    channel: BBC4
    date: 2013-11-20
    time: 21:00

~~~~</code></pre>
<p><strong>Output</strong></p>
<pre class="sourceCode json"><code class="sourceCode json"><span class="fu">{</span>
   <span class="dt">&quot;list&quot;</span> <span class="fu">:</span> <span class="ot">[</span>
      <span class="fu">{</span>
         <span class="dt">&quot;array&quot;</span> <span class="fu">:</span> <span class="ot">[</span>
            <span class="st">&quot;1&quot;</span><span class="ot">,</span>
            <span class="st">&quot;2&quot;</span><span class="ot">,</span>
            <span class="st">&quot;3&quot;</span><span class="ot">,</span>
            <span class="st">&quot;7&quot;</span>
         <span class="ot">]</span><span class="fu">,</span>
         <span class="dt">&quot;channel&quot;</span> <span class="fu">:</span> <span class="st">&quot;BBC3&quot;</span><span class="fu">,</span>
         <span class="dt">&quot;date&quot;</span> <span class="fu">:</span> <span class="st">&quot;2013-10-20&quot;</span><span class="fu">,</span>
         <span class="dt">&quot;time&quot;</span> <span class="fu">:</span> <span class="st">&quot;20:30&quot;</span>
      <span class="fu">}</span><span class="ot">,</span>
      <span class="fu">{</span>
         <span class="dt">&quot;array&quot;</span> <span class="fu">:</span> <span class="ot">[</span>
            <span class="st">&quot;1&quot;</span><span class="ot">,</span>
            <span class="st">&quot;2&quot;</span><span class="ot">,</span>
            <span class="st">&quot;3&quot;</span><span class="ot">,</span>
            <span class="st">&quot;9&quot;</span>
         <span class="ot">]</span><span class="fu">,</span>
         <span class="dt">&quot;date&quot;</span> <span class="fu">:</span> <span class="st">&quot;2013-11-20&quot;</span><span class="fu">,</span>
         <span class="dt">&quot;time&quot;</span> <span class="fu">:</span> <span class="st">&quot;21:00&quot;</span><span class="fu">,</span>
         <span class="dt">&quot;channel&quot;</span> <span class="fu">:</span> <span class="st">&quot;BBC4&quot;</span>
      <span class="fu">}</span>
   <span class="ot">]</span>
<span class="fu">}</span></code></pre>
<h2 id="table"><a name='14_table'>14 Table</a></h2>
<p>Create a simple table using CSV style data</p>
<ul>
<li>class
<ul>
<li>HTML/CSS class name</li>
</ul></li>
<li>id
<ul>
<li>HTML/CSS class</li>
</ul></li>
<li>width
<ul>
<li>width of the table</li>
</ul></li>
<li>style
<ul>
<li>style the table if not doing anything else</li>



( run in 1.686 second using v1.01-cache-2.11-cpan-39bf76dae61 )