How-to: Difference between revisions

From B-Wiki
Jump to navigation Jump to search
mNo edit summary
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="clear:right; float:right; margin-left: 10px">__TOC__</div>
= Templates =
== Shortcuts ==
{| class="wikitable"
|-
! Code
! Output
|-
| <syntaxhighlight lang="html">
{{Shortcut|botland.png|https://botland.com.pl|Botland store}}
</syntaxhighlight>
|
{{Shortcut|botland.png|https://botland.com.pl|Botland store}}
|}
= Syntax highligher =
= Syntax highligher =


Line 11: Line 27:


     # The Greeter class
     # The Greeter class
     class Greeter
     class Greeter
     def initialize(name)
     def initialize(name)
         @name = name.capitalize
         @name = name.capitalize
     end
     end


     def salute
     def salute
         puts "Hello #{@name}!"
         puts "Hello #{@name}!"
     end
     end


     end
     end
     g = Greeter.new("world")
     g = Greeter.new("world")
     g.salute
     g.salute
</syntaxhighlight>
</syntaxhighlight>
Line 53: Line 60:
g.salute
g.salute
</syntaxhighlight>
</syntaxhighlight>
= Tools =
{| class="wikitable"
|-
! Tool
! Description
|-
| {{Shortcut|XnConvert.png|https://www.xnview.com/en/xnconvert/#downloads|Image Converter}}
| XnConvert is a fast, powerful and free cross-platform batch image converter. It allows to automate editing of your photo collections: you can rotate, convert and compress your images, photos and pictures easily, and apply over 80 actions (like resize, crop, color adjustments, filter, ...). All common picture and graphics formats are supported (JPEG, TIFF, PNG, GIF, WebP, PSD, JPEG2000, JPEG-XL, OpenEXR, camera RAW, HEIC, PDF, DNG, CR2). You can save and re-use your presets for another batch image conversion.
|}

Latest revision as of 13:29, 1 December 2021

Templates

Shortcuts

Code Output
<syntaxhighlight lang="html">
  • Botland store
  • </syntaxhighlight>

  • Botland store
  • Syntax highligher

    Current syntax highligher integration: Syntax highligher

    Highligher: highlight.js

    Sample code

    <syntaxhighlight> # The Greeter class class Greeter def initialize(name) @name = name.capitalize end def salute puts "Hello #{@name}!" end end g = Greeter.new("world") g.salute </syntaxhighlight>

    will result to

    <syntaxhighlight>

    1. The Greeter class

    class Greeter

     def initialize(name)
       @name = name.capitalize
     end
    
     def salute
       puts "Hello #{@name}!"
     end
    

    end

    g = Greeter.new("world") g.salute </syntaxhighlight>

    Tools

    Tool Description
  • Image Converter
  • XnConvert is a fast, powerful and free cross-platform batch image converter. It allows to automate editing of your photo collections: you can rotate, convert and compress your images, photos and pictures easily, and apply over 80 actions (like resize, crop, color adjustments, filter, ...). All common picture and graphics formats are supported (JPEG, TIFF, PNG, GIF, WebP, PSD, JPEG2000, JPEG-XL, OpenEXR, camera RAW, HEIC, PDF, DNG, CR2). You can save and re-use your presets for another batch image conversion.