diff options
Diffstat (limited to 'lib/sisu/v5/constants.rb')
-rw-r--r-- | lib/sisu/v5/constants.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/sisu/v5/constants.rb b/lib/sisu/v5/constants.rb index 1b7cccea..04c0358a 100644 --- a/lib/sisu/v5/constants.rb +++ b/lib/sisu/v5/constants.rb @@ -66,7 +66,7 @@ YEAR='2014' Sfx={ txt: '.txt', txt_textile: '.textile', - txt_asciidoc: '.asciidoc.txt', + txt_asciidoc: '.ad', txt_markdown: '.md', txt_rst: '.rst', html: '.html', @@ -102,6 +102,7 @@ Xx={ } Mx={ meta_o: '〔@', meta_c: '〕', + lv_o_0: 0, lv_o_1: 1, lv_o_2: 2, lv_o_3: 3, @@ -175,7 +176,8 @@ Hx={ #Mx[:sm_subset_o]='∈ '; Mx[:sm_subset_c]='∋ ' Rx={ mx_fa_clean: /#{Mx[:fa_o]}.+?#{Mx[:fa_c]}|#{Mx[:pa_o]}.+?#{Mx[:pa_c]}|#{Mx[:mk_o]}.+?#{Mx[:mk_c]}/, - lv: /〔([1-9]):(\S*?)〕/, + lv: /〔([0-9]):(\S*?)〕/, + lv_0: /#{Mx[:lv_o_0]}(\S*?)#{Mx[:lv_c]}/, lv_1: /#{Mx[:lv_o_1]}(\S*?)#{Mx[:lv_c]}/, lv_2: /#{Mx[:lv_o_2]}(\S*?)#{Mx[:lv_c]}/, lv_3: /#{Mx[:lv_o_3]}(\S*?)#{Mx[:lv_c]}/, |