diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2019-04-10 14:25:38 -0400 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2019-05-17 16:59:54 -0400 |
commit | 6d337554a5354b5ac3825f8103a90476edea46ac (patch) | |
tree | a0c41d08a2488503c0770adab77989b0898dce5c /org/meta_abstraction.org | |
parent | 0.6.0 docReform project license AGPLv3+ (diff) |
text format delimiter, use: "┃" instead of "┋"
- gdc has compilation issue with the "┋" character,
not worth arguing, make internal marker changes
(can be changed again)
- text format delimiter
rg -l "┋" org/. | xargs sed -i 's/┋/┃/g'
Diffstat (limited to 'org/meta_abstraction.org')
-rw-r--r-- | org/meta_abstraction.org | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/org/meta_abstraction.org b/org/meta_abstraction.org index 87051c4..890519e 100644 --- a/org/meta_abstraction.org +++ b/org/meta_abstraction.org @@ -2356,7 +2356,7 @@ auto _image_dimensions(O,M)(O obj, M manifest_matter) { } obj.text = obj.text.replaceFirst( rgx.inline_image_without_dimensions, - format(q"┋%s☼%s,w%sh%s %s┋", + format(q"┃%s☼%s,w%sh%s %s┃", "$1", "$3", _w.to!string, @@ -2395,7 +2395,7 @@ auto _links(O)(O obj) { obj.stow.link ~= obj.text.matchFirst(rgx.inline_link_stow_uri)[2]; obj.text = obj.text.replaceFirst( rgx.inline_link_stow_uri, - format(q"┋┥%s┝┤%s├┋", "$1", i) + format(q"┃┥%s┝┤%s├┃", "$1", i) ); } } @@ -5076,10 +5076,10 @@ auto font_faces_line(T)( static auto mkup = InlineMarkup(); if (textline.match(rgx.inline_faces_line)) { textline = textline - .replaceFirst(rgx.inline_emphasis_line, format(q"┋%s%s%s%s%s%s┋", mkup.emph, mkup.ff_o, "$1", mkup.ff_c, mkup.emph, "$2")) - .replaceFirst(rgx.inline_bold_line, format(q"┋%s%s%s%s%s%s┋", mkup.bold, mkup.ff_o, "$1", mkup.ff_c, mkup.bold, "$2")) - .replaceFirst(rgx.inline_underscore_line, format(q"┋%s%s%s%s%s%s┋", mkup.underscore, mkup.ff_o, "$1", mkup.ff_c, mkup.underscore, "$2")) - .replaceFirst(rgx.inline_italics_line, format(q"┋%s%s%s%s%s%s┋", mkup.italic, mkup.ff_o, "$1", mkup.ff_c, mkup.italic, "$2")); + .replaceFirst(rgx.inline_emphasis_line, format(q"┃%s%s%s%s%s%s┃", mkup.emph, mkup.ff_o, "$1", mkup.ff_c, mkup.emph, "$2")) + .replaceFirst(rgx.inline_bold_line, format(q"┃%s%s%s%s%s%s┃", mkup.bold, mkup.ff_o, "$1", mkup.ff_c, mkup.bold, "$2")) + .replaceFirst(rgx.inline_underscore_line, format(q"┃%s%s%s%s%s%s┃", mkup.underscore, mkup.ff_o, "$1", mkup.ff_c, mkup.underscore, "$2")) + .replaceFirst(rgx.inline_italics_line, format(q"┃%s%s%s%s%s%s┃", mkup.italic, mkup.ff_o, "$1", mkup.ff_c, mkup.italic, "$2")); } return textline; } @@ -5551,7 +5551,7 @@ static struct ObjInlineMarkupMunge { } if (auto m = obj_txt_in.match(rgx.para_inline_link_anchor)) { obj_txt_in = obj_txt_in - .replaceAll(rgx.para_inline_link_anchor, "┋$1┋"); + .replaceAll(rgx.para_inline_link_anchor, "┃$1┃"); } auto ftn = footnotes_endnotes_markup_and_number_or_stars(obj_txt_in, reset_note_numbers); obj_txt_out = ftn[0]; @@ -6134,7 +6134,7 @@ private: heading_number_auto_composite = (conf_make_meta.make.auto_num_depth.to!uint == 3 && auto_heading_numbering[3]) - ? (format(q"┋%s.%s.%s.%s┋", + ? (format(q"┃%s.%s.%s.%s┃", heading_num[0].to!string, heading_num[1].to!string, heading_num[2].to!string, @@ -6146,7 +6146,7 @@ private: = ((conf_make_meta.make.auto_num_depth.to!uint >= 2) && (conf_make_meta.make.auto_num_depth.to!uint <= 3) && auto_heading_numbering[2]) - ? (format(q"┋%s.%s.%s┋", + ? (format(q"┃%s.%s.%s┃", heading_num[0].to!string, heading_num[1].to!string, heading_num[2].to!string @@ -6157,7 +6157,7 @@ private: = ((conf_make_meta.make.auto_num_depth.to!uint >= 1) && (conf_make_meta.make.auto_num_depth.to!uint <= 3) && auto_heading_numbering[1]) - ? (format(q"┋%s.%s┋", + ? (format(q"┃%s.%s┃", heading_num[0].to!string, heading_num[1].to!string )) @@ -6169,7 +6169,7 @@ private: = ((conf_make_meta.make.auto_num_depth.to!uint >= 0) && (conf_make_meta.make.auto_num_depth.to!uint <= 3) && auto_heading_numbering[0]) - ? (format(q"┋%s┋", + ? (format(q"┃%s┃", heading_num[0].to!string )) : ""; |