ex_dash v0.1.3 ExDash.Injector.Macro

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

Summary

Functions

find_ids/1 returns all Elixir macros found in the passed HTML

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

Functions

find_ids(html_content)

find_ids/1 returns all Elixir macros found in the passed HTML.

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

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