summaryrefslogtreecommitdiffstats
path: root/lib/sisu/v5/manifest.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2013-12-03 05:22:22 +0000
committerRalph Amissah <ralph@amissah.com>2013-12-03 05:22:22 +0000
commit66fde27a84a4fca7b93d08cc7ceda19400e8f9ad (patch)
treeef79701befa531e39db4588814204ff641cf800b /lib/sisu/v5/manifest.rb
parentv5: plaintext, smarttext: asciidoc (diff)
downloadsisu-66fde27a84a4fca7b93d08cc7ceda19400e8f9ad.zip
sisu-66fde27a84a4fca7b93d08cc7ceda19400e8f9ad.tar.xz
v5: plaintext, smarttext: markdown
Diffstat (limited to 'lib/sisu/v5/manifest.rb')
-rw-r--r--lib/sisu/v5/manifest.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/sisu/v5/manifest.rb b/lib/sisu/v5/manifest.rb
index 821b8fa..d2e4d7f 100644
--- a/lib/sisu/v5/manifest.rb
+++ b/lib/sisu/v5/manifest.rb
@@ -455,6 +455,14 @@ module SiSU_Manifest
file=@f.base_filename.asciidoc
summarize(id,file,pth,rel,url)
end
+ if FileTest.file?(@f.place_file.markdown.dir)==true
+ id='Markdown text (UTF-8)'
+ pth=@f.output_path.markdown.dir
+ rel=@f.output_path.markdown.rel_sm
+ url=@f.output_path.markdown.url
+ file=@f.base_filename.markdown
+ summarize(id,file,pth,rel,url)
+ end
if FileTest.file?("#{@base_path}/#{@md.fns}.tex")==true
id,file='LaTeX (portrait)',"#{@md.fns}.tex"
pth,rel,url='','',''