aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/ao_defaults.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2016-11-11 22:02:14 -0500
committerRalph Amissah <ralph@amissah.com>2019-04-10 15:14:13 -0400
commit784d5dacd2c11c9307c228bb76e43283287fc607 (patch)
tree56e9b3ca27c00bd45c41604f8f4bb6704bd477bf /org/ao_defaults.org
parentpara attribute: indent, variable type change, check consequences (diff)
para attribute: indent, make part of inline markup
Diffstat (limited to 'org/ao_defaults.org')
-rw-r--r--org/ao_defaults.org38
1 files changed, 38 insertions, 0 deletions
diff --git a/org/ao_defaults.org b/org/ao_defaults.org
index 045e1e3..23e3a00 100644
--- a/org/ao_defaults.org
+++ b/org/ao_defaults.org
@@ -435,6 +435,44 @@ template InternalMarkup() {
struct InlineMarkup {
auto en_a_o = "【"; auto en_a_c = "】";
auto en_b_o = "〖"; auto en_b_c = "〗";
+ string _indent_spaces ="";
+ string indent_by_spaces_provided(int indent) {
+ switch (indent) {
+ case 0:
+ _indent_spaces = "";
+ break;
+ case 1:
+ _indent_spaces = " ";
+ break;
+ case 2:
+ _indent_spaces = " ";
+ break;
+ case 3:
+ _indent_spaces = " ";
+ break;
+ case 4:
+ _indent_spaces = " ";
+ break;
+ case 5:
+ _indent_spaces = " ";
+ break;
+ case 6:
+ _indent_spaces = " ";
+ break;
+ case 7:
+ _indent_spaces = " ";
+ break;
+ case 8:
+ _indent_spaces = " ";
+ break;
+ case 9:
+ _indent_spaces = " ";
+ break;
+ default:
+ break;
+ }
+ return _indent_spaces;
+ }
}
}
#+END_SRC