Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: uw-make-top-re…
Fetching contributors…

Cannot retrieve contributors at this time

169 lines (62 sloc) 3.139 kb

Module edown_layout

Module edown_layout

Markdown layout module for EDoc.

Copyright (c) 2010 Erlang Solutions Ltd

Authors: Ulf Wiger (


Derived from edoc_layout, which is part of the Erlang/OTP application EDoc. The module is intended to be used together with edoc.

Function Index

module/2 The layout function.

Function Details


markdown(Title, CSS, Body) -> any()


module(Element, Options) -> any()

The layout function.

Options to the standard layout:

{index_columns, integer()}

Specifies the number of column pairs used for the function index tables. The default value is 1.

{pretty_printer, atom()}

Specifies how types and specifications are pretty printed. If the value erl_pp is specified the Erlang pretty printer (the module erl_pp) will be used. The default is to do no pretty printing which implies that lines can be very long.

{stylesheet, string()}

Specifies the URI used for referencing the stylesheet. The default value is "stylesheet.css". If an empty string is specified, no stylesheet reference will be generated.

{sort_functions, boolean()}

If true, the detailed function descriptions are listed by name, otherwise they are listed in the order of occurrence in the source file. The default value is true.

{xml_export, Module::atom()}

Specifies an xmerl callback module to be used for exporting the documentation. See //xmerl/xmerl:export_simple_content/2 for details.

See also: //edoc/edoc:layout/2, edown_doclet:layout/2.


overview(E, Options) -> any()


package(E, Options) -> any()


type(E) -> any()

Generated by EDoc, Mar 26 2011, 15:00:44.

Jump to Line
Something went wrong with that request. Please try again.