module Shortcodes

Defined in:

shortcodes.cr

Constant Summary

ERR_MISMATCHED_BRACKET = 2

You are using mismatched brackets. Example: {{% foo >}}

ERR_MISMATCHED_CLOSING_TAG = 1

Error codes

You are closing the wrong shortcode. Example: {{% foo %}} {{% /bar %}}

Class Method Summary

Class Method Detail

def self.extract(c : LibShortcodes::Chunk, s : String) #

[View source]
def self.nice_error(e : Error, s : String) #

[View source]
def self.parse(input : String) #

[View source]