From 88029687c9ad611c1f2c70f789347605dc2041c3 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Fri, 30 Apr 2010 19:52:57 -0400 Subject: emphasis display and plaintext line wrap configurable in document or sis * markup for *{emphasis}* configurable as being displayed either bold or italics, the default is that emphasis output is in bold so there is no at present unless configured, either in sisurc.yml (default: emphasis: 'italics'), or the markup source document header @make: :emphasis: 'it [requested] * plaintext, wrap width configurable between 20 to 200 characters, the default width being 78, configuration eithe rin sisurc.yml (default: t 78), or the markup source document header (@make: :plaintext_wrap: 78) --- lib/sisu/v2/constants.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/sisu/v2/constants.rb') diff --git a/lib/sisu/v2/constants.rb b/lib/sisu/v2/constants.rb index 83914038..7fc3b056 100644 --- a/lib/sisu/v2/constants.rb +++ b/lib/sisu/v2/constants.rb @@ -114,6 +114,8 @@ Dx[:rel_o]='‹'; Dx[:rel_c]='›' Tex[:backslash]="\\\\" Tex[:backslash]="\\\\" Tex[:tilde]='\\\\\\~' +#Px[:emphasis_o]= '*'; Px[:emphasis_c]= '*' +#Px[:bold_o]= '!'; Px[:bold_c]= '!' Px[:bold_o]= '*'; Px[:bold_c]= '*' Px[:italics_o]= '/'; Px[:italics_c]= '/' Px[:underscore_o]= '_'; Px[:underscore_c]= '_' -- cgit v1.2.3