Makeup v0.1.1 Makeup.Lexers.HTML5 View Source
Documentation for the HTML5 lexer.
Unlike the Pygments lexer that served as an inspiration (which uses Regexs), we try to make a proper job out of parsing the HTML and extract some structure.
We will match opening and closing tags, and will make use of those tags to add some functionality.
Link to this section Summary
Link to this section Functions
Link to this macro
chars(context_ast, matchers_ast, minimumChars \\ 1, maximumChars \\ -1)
View Source
(macro)
Link to this macro
chars1(context_ast, firstMatcher_ast, matchers_ast, minimumChars \\ 1, maximumChars \\ -1)
View Source
(macro)
Link to this function
chars_increment_while_matching(matchers, maximumChars, arg3, position, column, line, chars)
View Source