A very basic regex-based Markdown parser. Supports the
following elements (and can be extended via Slimdown::add_rule()):
- Headers
- Links
- Bold
| Extruder: | |
| - Nozzle Diameter: 0.40mm | |
| - Extrusion Multiplier: 1.00 (can fiddle with this: if you get holes in top layers - increase, if you get blobs and the head digs into the current layer - decrease) | |
| - Extrusion Width: auto | |
| - Retraction: | |
| - Distance: 4-6mm or less even | |
| - Extra Restart Dist: 0.5 | |
| - Vertical Lift: 0 | |
| - Retraction Speed: 3000 | |
| - Coast at end - enabled - 0.1mm |
| .tabs-title { | |
| float:none !important; | |
| display:inline-block; | |
| } | |
| .tabs { | |
| text-align:center; | |
| } |
A very basic regex-based Markdown parser. Supports the
following elements (and can be extended via Slimdown::add_rule()):
| require 'cairo' | |
| require 'pango' | |
| width, height = 600, 600 | |
| surface = Cairo::ImageSurface.new(:argb32, width, height) | |
| cr = Cairo::Context.new(surface) | |
| cr.save do |