class Luce::ImageSyntax

Overview

Matches images like ![alternate text](url "optional title") and ![alternate text][lable].

Defined in:

luce/inline_syntaxes/image_syntax.cr

Constructors

Instance methods inherited from class Luce::LinkSyntax

close(parser : InlineParser, opener : SimpleDelimiter, closer : DelimiterTypes | Nil, get_children : Proc(Array(Node)), tag : String | Nil = nil) : Node | Nil close, link_resolver : Resolver link_resolver

Constructor methods inherited from class Luce::LinkSyntax

new(link_resolver : Resolver | Nil = nil, pattern : String = "\\[", start_character : Int32 = Charcode::LBRACKET) new

Instance methods inherited from class Luce::DelimiterSyntax

allow_intra_word? : Bool allow_intra_word?, close(parser : InlineParser, opener : Delimiter, closer : Delimiter, get_children : Proc(Array(Node)), tag : String) : Node | Nil close, on_match(parser : InlineParser, match : Regex::MatchData) : Bool on_match, requires_delimiter_run? : Bool requires_delimiter_run?, tags : Array(DelimiterTag) | Nil tags

Constructor methods inherited from class Luce::DelimiterSyntax

new(pattern : String, requires_delimiter_run : Bool = false, start_character : Int32 | Nil = nil, allow_intra_word : Bool = false, tags : Array(DelimiterTag) | Nil = nil) new

Instance methods inherited from class Luce::InlineSyntax

matches?(parser : InlineParser, start_match_pos : Int32 | Nil = nil) : Bool matches?, on_match(parser : InlineParser, match : Regex::MatchData) : Bool on_match, pattern : Regex pattern

Constructor methods inherited from class Luce::InlineSyntax

new(pattern : String, start_character : Int32 | Nil = nil, case_sensitive : Bool = true) new

Constructor Detail

def self.new(link_resolver : Resolver | Nil = nil) #