lib/constants.rb in markdown_exec-2.5.0 vs lib/constants.rb in markdown_exec-2.6.0
- old
+ new
@@ -28,9 +28,19 @@
BlockType::SAVE => :menu_save_color,
BlockType::SHELL => :menu_bash_color,
BlockType::VARS => :menu_vars_color
}.freeze
+
+COLLAPSIBLE_SYMBOL_COLLAPSED = '⬢' # '<+>' # '∆'
+COLLAPSIBLE_SYMBOL_EXPANDED = '⬡' # '< >' # '…'
+
+# in regexp (?<collapse>[+-~]?)
+COLLAPSIBLE_TOKEN_COLLAPSE = '+'
+COLLAPSIBLE_TOKEN_EXPAND = '-'
+
+COLLAPSIBLE_TYPES = [BlockType::DIVIDER, BlockType::HEADING].freeze
+
class ExecutionStreams
STD_ERR = :stderr
STD_IN = :stdin
STD_OUT = :stdout
end