How-to: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (→Templates) |
||
(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">
</syntaxhighlight> |
|
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>
- 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 |
---|---|
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. |