aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v5/hub.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2013-12-03 00:24:33 -0500
committerRalph Amissah <ralph@amissah.com>2013-12-03 00:24:33 -0500
commit6c153f78e75df56bd7c5e04a58124a8d5427d5d7 (patch)
tree7a1b6047bf71db3db59331cfa6638410b83f2927 /lib/sisu/v5/hub.rb
parentv5: plaintext, smarttext: markdown (diff)
v5: plaintext, smarttext: rst
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 9ef005bd..755a13dd 100644
--- a/lib/sisu/v5/hub.rb
+++ b/lib/sisu/v5/hub.rb
@@ -314,6 +314,10 @@ module SiSU
require_relative 'txt_markdown' # txt_markdown.rb
SiSU_Txt_Markdown::Source.new(@opt).read
end
+ if @opt.act[:txt_rst][:set]==:on #% --rst, --rest
+ require_relative 'txt_rst' # txt_rst.rb
+ SiSU_Txt_rST::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
@@ -652,6 +656,7 @@ module SiSU
|| @opt.act[:txt_textile][:set]==:on \
|| @opt.act[:txt_asciidoc][:set]==:on \
|| @opt.act[:txt_markdown][:set]==:on \
+ || @opt.act[:txt_rst][:set]==:on \
|| @opt.act[:html][:set]==:on \
|| @opt.act[:html_scroll][:set]==:on \
|| @opt.act[:html_seg][:set]==:on \