aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v5/hub.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2013-12-03 00:15:43 -0500
committerRalph Amissah <ralph@amissah.com>2013-12-03 00:17:41 -0500
commitcdda22f51e4de785502b42fce3cc645e95ffd1d4 (patch)
tree492593d0fe3805a3db9f206661627d498f0fd3bd /lib/sisu/v5/hub.rb
parentv5: plaintext, rename & simplify (diff)
v5: plaintext, smarttext: textile
Diffstat (limited to 'lib/sisu/v5/hub.rb')
-rw-r--r--lib/sisu/v5/hub.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/sisu/v5/hub.rb b/lib/sisu/v5/hub.rb
index a4fd408f..82036c87 100644
--- a/lib/sisu/v5/hub.rb
+++ b/lib/sisu/v5/hub.rb
@@ -302,6 +302,10 @@ module SiSU
require_relative 'txt_plain' # txt_plain.rb
SiSU_Txt_Plain::Source.new(@opt).read
end
+ if @opt.act[:txt_textile][:set]==:on #% --textile
+ require_relative 'txt_textile' # txt_textile.rb
+ SiSU_Txt_Textile::Source.new(@opt).read
+ end
if @opt.act[:html][:set]==:on #% --html, -h -H
require_relative 'html' # html.rb
SiSU_HTML::Source.new(@opt).read
@@ -637,6 +641,7 @@ module SiSU
|| @opt.act[:manpage][:set]==:on \
|| @opt.act[:texinfo][:set]==:on \
|| @opt.act[:txt][:set]==:on \
+ || @opt.act[:txt_textile][:set]==:on \
|| @opt.act[:html][:set]==:on \
|| @opt.act[:html_scroll][:set]==:on \
|| @opt.act[:html_seg][:set]==:on \