ex_dash v0.1.0 ExDash.Formatter.Injector.Type

An Injector for identifying Elixir type specs and injecting Type anchors into ExDoc-generated files.

Summary

Functions

find_ids/1 returns all types found in the passed HTML

match_and_anchor/1 returns a matching string and injectable anchor string for the passed id

Functions

find_ids/1 returns all types found in the passed HTML.

match_and_anchor(id)
match_and_anchor(ExDash.Formatter.Injector.id) :: {match :: String.t, replacement :: String.t}

match_and_anchor/1 returns a matching string and injectable anchor string for the passed id.