diff options
author | Ralph Amissah <ralph@amissah.com> | 2017-06-06 17:46:46 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2019-04-10 15:14:14 -0400 |
commit | d18c6be61b70598e9c605db92103bf4e1054f15e (patch) | |
tree | 0bb7922b9a5667a549ac4e4e078c100bbf742dbe /src/sdp/output | |
parent | heading auto-numbering, fixes (diff) |
headings & toc, monospace and links, fix
Diffstat (limited to 'src/sdp/output')
-rw-r--r-- | src/sdp/output/defaults.d | 1 | ||||
-rw-r--r-- | src/sdp/output/rgx.d | 1 | ||||
-rw-r--r-- | src/sdp/output/xmls.d | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/src/sdp/output/defaults.d b/src/sdp/output/defaults.d index 82a8d1a..d63c3d5 100644 --- a/src/sdp/output/defaults.d +++ b/src/sdp/output/defaults.d @@ -22,6 +22,7 @@ template InternalMarkup() { auto tc_o = "┏"; auto tc_c = "┚"; auto tc_p = "┆"; + auto mono = "■"; string indent_by_spaces_provided(int indent, string _indent_spaces ="░░") { _indent_spaces = replicate(_indent_spaces, indent); return _indent_spaces; diff --git a/src/sdp/output/rgx.d b/src/sdp/output/rgx.d index 6fdc876..ae7599f 100644 --- a/src/sdp/output/rgx.d +++ b/src/sdp/output/rgx.d @@ -55,6 +55,7 @@ template SiSUoutputRgxInit() { static inline_strike = ctRegex!(`-\{(?P<text>.+?)\}-`, "mg"); static inline_insert = ctRegex!(`\+\{(?P<text>.+?)\}\+`, "mg"); static inline_mono = ctRegex!(`#\{(?P<text>.+?)\}#`, "mg"); + static inline_mono_box = ctRegex!(`■\{(?P<text>.+?)\}■`, "mg"); static inline_cite = ctRegex!(`"\{(?P<text>.+?)\}"`, "mg"); static inline_faces_line = ctRegex!(`^[*!/_]_ (?P<text>.+?)((?: [\\]{2}|[~]#){0,2}$)`); static inline_emphasis_line = ctRegex!(`^\*_ (?P<text>.+?)((?: [\\]{2}|[~]#){0,2}$)`); diff --git a/src/sdp/output/xmls.d b/src/sdp/output/xmls.d index 7a057ad..ed9b548 100644 --- a/src/sdp/output/xmls.d +++ b/src/sdp/output/xmls.d @@ -350,6 +350,7 @@ template outputXHTMLs() { || (obj.heading_lev_markup == 0 || obj.heading_lev_markup > 4)) { _horizontal_rule = ""; } + _txt = font_face(_txt); string o; if (obj.obj_cite_number.empty) { o = format(q"¶%s |