FranklinUtils.htmlMethod
html(s)

Mark a string as HTML to be included in Franklin-markdown. Line spacing is to reduce issues with <p>.

FranklinUtils.lxargsFunction
lxargs(s)

Extract function-style arguments. Expect (arg1, arg2, ..., name1=val1, name2=val2, ...)

Example:

julia> a = ":section, 1, 3, title="hello", name="bar""
julia> lxargs(a)
(Any[:section, 1, 3], Any[:title => "hello", :name => "bar"])
FranklinUtils.lxargsMethod
lxarg(com)

For a LxCom, extract the first brace and process as function arguments.

FranklinUtils.lxdMethod
lxd(n)

Create a dummy latex definition (useful for testing).

FranklinUtils.lxmockMethod
lxmock(s)

Creates a mock command from a string so that it can be parsed as a Franklin.LxCom.

FranklinUtils.lxprocMethod
lxproc(com)

Extract the content of a single-brace lx command. For instance \com{foo} would be extracted to foo.