div.rb

Path: lib/maruku/ext/div.rb
Last Update: Sat Feb 23 07:12:06 +0000 2019

+————————————{.warning}—— | this is the last warning! | | please, go away! | | +————————————- {.menace} — | | or else terrible things will happen | +————————————————— +—————————————————

Constants

OpenDiv = /^[ ]{0,3}\+\-\-+\s*(\{([^{}]*?|".*?"|'.*?')*\})?\s*\-*\s*$/   TODO: Scope these properly
CloseDiv = /^[ ]{0,3}\=\-\-+\s*(\{([^{}]*?|".*?"|'.*?')*\})?\s*\-*\s*$/
StartPipe = /^[ ]{0,3}\|(.*)$/
DecorativeClosing = OpenDiv

[Validate]