From 66fde27a84a4fca7b93d08cc7ceda19400e8f9ad Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Tue, 3 Dec 2013 00:22:22 -0500 Subject: v5: plaintext, smarttext: markdown --- lib/sisu/v5/hub.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/sisu/v5/hub.rb') diff --git a/lib/sisu/v5/hub.rb b/lib/sisu/v5/hub.rb index 6546de4c..9ef005bd 100644 --- a/lib/sisu/v5/hub.rb +++ b/lib/sisu/v5/hub.rb @@ -310,6 +310,10 @@ module SiSU require_relative 'txt_asciidoc' # txt_asciidoc.rb SiSU_Txt_asciiDoc::Source.new(@opt).read end + if @opt.act[:txt_markdown][:set]==:on #% --markdown + require_relative 'txt_markdown' # txt_markdown.rb + SiSU_Txt_Markdown::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 @@ -647,6 +651,7 @@ module SiSU || @opt.act[:txt][:set]==:on \ || @opt.act[:txt_textile][:set]==:on \ || @opt.act[:txt_asciidoc][:set]==:on \ + || @opt.act[:txt_markdown][:set]==:on \ || @opt.act[:html][:set]==:on \ || @opt.act[:html_scroll][:set]==:on \ || @opt.act[:html_seg][:set]==:on \ -- cgit v1.2.3