karottenreibe-qwicky 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/HISTORY.markdown +6 -0
  2. data/bin/qwicky +17 -2
  3. data/qwicky.gemspec +1 -1
  4. metadata +1 -1
data/HISTORY.markdown CHANGED
@@ -1,3 +1,9 @@
1
+ 0.0.4
2
+ =====
3
+
4
+ * Fixed small bugs regarding markup
5
+ * Nicer blockquotes and code blocks
6
+
1
7
  0.0.3
2
8
  =====
3
9
 
data/bin/qwicky CHANGED
@@ -13,7 +13,7 @@ require 'base64'
13
13
  set :run, true
14
14
 
15
15
  # Read working dir. {{{1
16
- idx = ARGV.index { |arg| arg == '--' }
16
+ idx = ARGV.index('--')
17
17
  DIR = File.expand_path(
18
18
  if idx.nil? or ARGV[idx+1].nil?
19
19
  Dir.pwd
@@ -440,7 +440,7 @@ __END__
440
440
  #page
441
441
  %h1= @page.name
442
442
  .content
443
- = markup(@page.content)
443
+ = find_and_preserve markup(@page.content), %w{pre blockquote}
444
444
 
445
445
  @@settings
446
446
  %form{ :action => "/..settings", :method => 'post', :id => 'settings' }
@@ -539,6 +539,21 @@ form
539
539
  :font-family monospace
540
540
  :padding-right 10px
541
541
 
542
+ pre
543
+ :border-left= 3px solid !border
544
+ :padding 10px
545
+
546
+
547
+ blockquote
548
+ :margin 0px
549
+ :padding 10px
550
+ :font-style italic
551
+ :border-left= 3px solid !border
552
+
553
+ p
554
+ :display inline
555
+ :white-space pre
556
+
542
557
  #footer
543
558
  :border-top= 2px solid !border
544
559
  :padding 5px
data/qwicky.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{qwicky}
5
- s.version = "0.0.3"
5
+ s.version = "0.0.4"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Fabian Streitel"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: karottenreibe-qwicky
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fabian Streitel