class Luce::InlineHTMLSyntax
Overview
Leave inline HTML tags alone, from
CommonMark 0.28 .
This is not actually a good definition (nor CommonMark's) of an
HTML tag, but it is fast. It will leave text like < href='hi">
alone, which is incorrect.
TODO improve accuracy while ensuring performance, once Markdown
benchmarking is more mature.
Defined in:
luce/inline_syntaxes/inline_html_syntax.cr
Constructors
Instance methods inherited from class Luce::TextSyntax
on_match(parser : InlineParser, match : Regex::MatchData) : Bool
on_match ,
substitute : String
substitute
Constructor methods inherited from class Luce::TextSyntax
new(pattern : String, sub : String = "" , start_character : Int32 | 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