Makeup v0.1.1 Makeup View Source
Link to this section Summary
Functions
Highlights the given string using the given lexer and formatter
Generates a CSS stylesheet for highlighted code for the given style
Link to this section Functions
Link to this function
highlight(source, lexer \\ ElixirLexer, formatter \\ SimpleHTMLFormatter)
View Source
Highlights the given string using the given lexer and formatter.
By default it highlight the Elixir language using HTML
Generates a CSS stylesheet for highlighted code for the given style.
The css_class
arguments is the top level class for highlighted code.
For example, if the css_class
is "highlight"
(the default), the stylesheet
has the form:
.highlight .someclass {...}
.highlight .anotherclass {...}
...