diff options
author | Ralph Amissah <ralph@amissah.com> | 2013-12-03 00:24:33 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2013-12-03 00:24:33 -0500 |
commit | 6c153f78e75df56bd7c5e04a58124a8d5427d5d7 (patch) | |
tree | 7a1b6047bf71db3db59331cfa6638410b83f2927 /lib/sisu/v5/options.rb | |
parent | v5: plaintext, smarttext: markdown (diff) |
v5: plaintext, smarttext: rst
Diffstat (limited to 'lib/sisu/v5/options.rb')
-rw-r--r-- | lib/sisu/v5/options.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/sisu/v5/options.rb b/lib/sisu/v5/options.rb index 24b75b29..2f6b9a0b 100644 --- a/lib/sisu/v5/options.rb +++ b/lib/sisu/v5/options.rb @@ -884,6 +884,9 @@ module SiSU_Commandline act[:txt_markdown]=(mod.inspect =~/"--markdown"/) \ ? { bool: true, set: :on } : { bool: false, set: :na } + act[:txt_rst]=(mod.inspect =~/"--rst"|"--rest"|"--restructuredtext"/) \ + ? { bool: true, set: :on } + : { bool: false, set: :na } act[:manpage]=(cmd =~/i/ \ || mod.inspect =~/"--manpage"|"--man"/) \ ? { bool: true, set: :on } @@ -976,6 +979,7 @@ module SiSU_Commandline || act[:txt_textile][:set]==:on \ || act[:txt_asciidoc][:set]==:on \ || act[:txt_markdown][:set]==:on \ + || act[:txt_rst][:set]==:on \ || act[:xhtml][:set]==:on \ || act[:epub][:set]==:on \ || act[:html][:set]==:on \ @@ -1023,6 +1027,7 @@ module SiSU_Commandline || act[:txt_textile][:set]==:on \ || act[:txt_asciidoc][:set]==:on \ || act[:txt_markdown][:set]==:on \ + || act[:txt_rst][:set]==:on \ || act[:xhtml][:set]==:on \ || act[:epub][:set]==:on \ || act[:html][:set]==:on \ |