diff options
author | Jovansonlee Cesar <ivanceras@gmail.com> | 2016-11-17 00:49:23 +0800 |
---|---|---|
committer | Jovansonlee Cesar <ivanceras@gmail.com> | 2016-11-17 00:49:23 +0800 |
commit | b090b7b7f880fdf8bf0d44d2997b687fe49d06cb (patch) | |
tree | 03213f7c706dd677edde8f957ba2d269b57557fb | |
parent | 221796f5bc89846c0e46c79ed5e69f402ba224a0 (diff) |
Regenerated examples
-rw-r--r-- | Cargo.lock | 9 | ||||
-rw-r--r-- | Cargo.toml | 1 | ||||
-rw-r--r-- | comic.html | 32 | ||||
-rw-r--r-- | examples/comic.bob | 32 | ||||
-rw-r--r-- | screenshots/comic.svg | 60 | ||||
-rw-r--r-- | screenshots/image.svg | 4 |
6 files changed, 109 insertions, 29 deletions
@@ -4,7 +4,6 @@ version = "0.1.7" dependencies = [ "clap 2.17.1 (registry+https://github.com/rust-lang/crates.io-index)", "handlebars 0.21.1 (registry+https://github.com/rust-lang/crates.io-index)", - "memenhancer 0.1.0", "svg 0.5.4 (registry+https://github.com/rust-lang/crates.io-index)", "unicode-width 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -65,14 +64,6 @@ version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] -name = "memenhancer" -version = "0.1.0" -dependencies = [ - "svg 0.5.4 (registry+https://github.com/rust-lang/crates.io-index)", - "unicode-width 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] name = "pest" version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -12,7 +12,6 @@ license = "Apache-2.0" svg = "0.5" clap = "2.16" unicode-width = "0.1" -memenhancer = {path = "../memenhancer", optional = true} [lib] @@ -24,12 +24,38 @@ pre { <pre> <code> - .-----------. - | Hey There | - '___ ______' + .-------------. + | Hey there! | + | I haz skillz| + '___ ________' /,' /' ( ͡° ͜ʖ ͡°) + + --|-- + | + | + | + / \ + + +Table Flip (╯°□°)╯︵┻━┻ + +.-------------------. +|What have you done?| +|Put it back! | +'___ ______________' .------------. + |/ | Y u do diz?| + . '___ ________' + `\ +乁(ಥ౪ಥ;)ㄏ + ლ(ಠ益ಠლ) + + +.--------------------. .--------------. +|Ok. I Put Table Back > ┬──┬ ノ( ゜-゜ノ) < Here you go | +'--------------------' '--------------' + </code> </pre> diff --git a/examples/comic.bob b/examples/comic.bob index b2327ac..63ec16c 100644 --- a/examples/comic.bob +++ b/examples/comic.bob @@ -1,7 +1,33 @@ - .-----------. - | Hey There | - '___ ______' + .-------------. + | Hey there! | + | I haz skillz| + '___ ________' /,' /' ( ͡° ͜ʖ ͡°) + + --|-- + | + | + | + / \ + + +Table Flip (╯°□°)╯︵┻━┻ + +.-------------------. +|What have you done?| +|Put it back! | +'___ ______________' .------------. + |/ | Y u do diz?| + . '___ ________' + `\ +乁(ಥ౪ಥ;)ㄏ + ლ(ಠ益ಠლ) + + +.--------------------. .--------------. +|Ok. I Put Table Back > ┬──┬ ノ( ゜-゜ノ) < Here you go | +'--------------------' '--------------' + diff --git a/screenshots/comic.svg b/screenshots/comic.svg index c112bfe..8359379 100644 --- a/screenshots/comic.svg +++ b/screenshots/comic.svg @@ -1,4 +1,4 @@ -<svg font-family="arial" font-size="14" height="112" width="168" xmlns="http://www.w3.org/2000/svg"> +<svg font-family="arial" font-size="14" height="560" width="512" xmlns="http://www.w3.org/2000/svg"> <defs> <marker id="triangle" markerHeight="10" markerUnits="strokeWidth" markerWidth="10" orient="auto" refX="0" refY="5" viewBox="0 0 40 40"> <path d="M 0 0 L 10 5 L 0 10 z"/> @@ -16,7 +16,7 @@ } circle { stroke: black; - stroke-width: 1; + stroke-width: 2; stroke-opacity: 1; fill-opacity: 1; stroke-linecap: round; @@ -29,19 +29,57 @@ } </style> -<path d=" M 68 28 L 68 48 M 72 24 A 4 4 0 0 0 68 28 M 72 24 L 160 24 M 164 28 L 164 48 M 164 28 A 4 4 0 0 0 160 24 M 68 32 L 68 48 M 164 32 L 164 48 M 68 60 L 68 48 M 68 60 A 4 4 0 0 0 72 64 L 96 64 M 112 64 L 160 64 A 4 4 0 0 0 164 60 L 164 48 M 104 72 L 96 80 M 112 64 L 104 72 M 80 96 L 96 64 M 96 80 L 80 96" fill="none"/> +<path d=" M 68 28 L 68 64 M 72 24 A 4 4 0 0 0 68 28 M 72 24 L 176 24 M 180 28 L 180 64 M 180 28 A 4 4 0 0 0 176 24 M 68 32 L 68 64 M 180 32 L 180 64 M 68 76 L 68 64 M 68 76 A 4 4 0 0 0 72 80 L 96 80 M 112 80 L 176 80 A 4 4 0 0 0 180 76 L 180 64 M 104 88 L 96 96 M 112 80 L 104 88 M 80 112 L 96 80 M 96 96 L 80 112 M 16 152 L 36 152 M 36 144 L 36 192 M 48 152 L 36 152 M 48 152 L 56 152 M 32 208 L 36 200 L 48 224 M 36 192 L 36 200 M 24 224 L 32 208 M 40 208 L 48 224 M 4 300 L 4 336 M 8 296 A 4 4 0 0 0 4 300 M 8 296 L 160 296 M 164 300 L 164 336 M 164 300 A 4 4 0 0 0 160 296 M 4 304 L 4 336 M 164 304 L 164 336 M 4 348 L 4 336 M 4 348 A 4 4 0 0 0 8 352 L 36 352 M 48 352 L 160 352 A 4 4 0 0 0 164 348 L 164 336 M 204 348 L 204 368 M 208 344 A 4 4 0 0 0 204 348 M 208 344 L 304 344 M 308 348 L 308 368 M 308 348 A 4 4 0 0 0 304 344 M 36 352 L 36 368 M 40 368 L 48 352 M 204 352 L 204 368 M 308 352 L 308 368 M 36 368 L 36 376 L 48 352 M 204 380 L 204 368 M 204 380 A 4 4 0 0 0 208 384 L 232 384 M 240 384 L 304 384 A 4 4 0 0 0 308 380 L 308 368 M 232 384 L 248 400 M 240 384 L 248 400 M 4 476 L 4 496 M 8 472 A 4 4 0 0 0 4 476 M 8 472 L 168 472 M 172 476 A 4 4 0 0 0 168 472 M 172 476 L 172 484 M 360 472 A 4 4 0 0 0 356 476 L 356 484 M 360 472 L 472 472 M 476 476 L 476 496 M 476 476 A 4 4 0 0 0 472 472 M 4 480 L 4 496 M 172 484 L 184 488 M 172 492 L 184 488 M 288 488 L 296 488 M 344 488 L 356 484 M 344 488 L 356 492 M 476 480 L 476 496 M 4 496 L 4 500 A 4 4 0 0 0 8 504 L 168 504 A 4 4 0 0 0 172 500 M 172 492 L 172 500 M 356 500 A 4 4 0 0 0 360 504 M 356 492 L 356 500 M 360 504 L 472 504 M 476 496 L 476 500 M 472 504 A 4 4 0 0 0 476 500" fill="none"/> <path d="" fill="none" stroke-dasharray="3 3"/> <text x="82" y="44"> -Hey There +Hey there! </text> -<text text-anchor="end" x="8" y="108"> - +<text x="82" y="60"> +I haz skillz </text> -<circle cx="36" cy="104" r="28"/> -<text text-anchor="middle" x="36" y="108"> -<tspan class='head'>(</tspan> ͡° ͜ʖ ͡°<tspan class='head'>)</tspan> +<text x="10" y="124"> +( ͡° ͜ʖ ͡°) </text> -<text text-anchor="start" x="64" y="108"> - +<text x="2" y="268"> +Table Flip +</text> +<text x="98" y="268"> +(╯°□°)╯︵┻━┻ +</text> +<text x="10" y="316"> +What have you done? +</text> +<text x="10" y="332"> +Put it back! +</text> +<text x="218" y="364"> +Y u do diz? +</text> +<text x="2" y="412"> +乁(ಥ౪ಥ;)ㄏ +</text> +<text x="258" y="428"> +ლ(ಠ益ಠლ) +</text> +<text x="10" y="492"> +Ok. +</text> +<text x="42" y="492"> +I Put Table Back +</text> +<text x="202" y="492"> +┬──┬ +</text> +<text x="242" y="492"> +ノ( +</text> +<text x="274" y="492"> +゜ +</text> +<text x="298" y="492"> +゜ノ) +</text> +<text x="362" y="492"> +Here you go </text> </svg>
\ No newline at end of file diff --git a/screenshots/image.svg b/screenshots/image.svg index 17a16ec..7920f93 100644 --- a/screenshots/image.svg +++ b/screenshots/image.svg @@ -1,4 +1,4 @@ -<svg font-family="arial" font-size="14" height="7552" width="624" xmlns="http://www.w3.org/2000/svg"> +<svg font-family="arial" font-size="14" height="7584" width="656" xmlns="http://www.w3.org/2000/svg"> <defs> <marker id="triangle" markerHeight="10" markerUnits="strokeWidth" markerWidth="10" orient="auto" refX="0" refY="5" viewBox="0 0 40 40"> <path d="M 0 0 L 10 5 L 0 10 z"/> @@ -16,7 +16,7 @@ } circle { stroke: black; - stroke-width: 1; + stroke-width: 2; stroke-opacity: 1; fill-opacity: 1; stroke-linecap: round; |