aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/ao_defaults.org
diff options
context:
space:
mode:
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