markright v0.4.1 Markright.Parsers.Lj

Makes all the mailto:who@where.domain texts to be links.

Examples

iex> input = "✎mudasobwa wrote"
iex> Markright.Parsers.Lj.to_ast(input)
%Markright.Continuation{
  ast: {:span, %{class: "ljuser i-ljuser i-ljuser-type-P"},
    [{:a, %{class: "i-ljuser-profile",
            href: "http://mudasobwa.livejournal.com/profile",
            target: "_self"},
        [{:img, %{class: "i-ljuser-userhead ContextualPopup",
                  src: "http://l-stat.livejournal.net/img/userinfo.gif?v=17080?v=145"}, nil}]},
     {:a, %{class: "i-ljuser-username",
            href: "http://mudasobwa.livejournal.com/",
            target: "_self"}, [{:strong, %{}, "mudasobwa"}]}]},
  tail: " wrote"}

Summary

Functions

to_ast(input, plume)

Callback implementation for Markright.Parser.to_ast/2.