View Source Postex.Highlighter (Postex v0.1.8)

Performs code highlighting. Stolen shamelessly from ex_doc

Link to this section Summary

Functions

Highlights all code block in an already generated HTML document.

Link to this section Functions

Link to this function

highlight_code_blocks(html, opts \\ [])

View Source
@spec highlight_code_blocks(
  binary(),
  keyword()
) :: binary()

Highlights all code block in an already generated HTML document.