marky Example

Name

Date

Abstract – This is a marky example document for illustrating marky markup. The marky source code of this document can be read here. For more information please refer to the marky repository, marky documentation or the marky quickstart.


1 Referenced Section

This is a reference to Section 1.

Figure 1: This is the caption

This is a reference to Fig. 1.

Table 1: This is the caption
A B C D
000 111 444 555
222 333 666 777

This is a reference to Table 1.

eiπ + 1 = 0(1)

This is a reference to Eq. 1.

This is a citation (Muller 1993).

2 marky Markup for Execution of Embedded Python Code

Displayed Code, Executed

    import math
    def list_and(l):
        return ", ".join(str(i) for i in l[:-1]) + " and " + str(l[-1])

    x = 2
    y = math.sqrt(x)

Hidden Code, Executed

Displayed Code, Not Executed

    x = 3

Inline Formatted Output

The square root of x = 2 is 1.414.

Inline Expression

The first ten numbers are 0, 1, 2, 3, 4, 5, 6, 7, 8 and 9.

Format Links

[Link to document](file.???)

will be proprocessed into the following text:

Link to this document

Format Codes

    def html_FMTCODE(): return "H<sup>T</sup><sub>M</sub>L"
    def pdf_FMTCODE(): return "\LaTeX"

This is a ?_FMTCODE() document.


Thanks for reading, please try marky.


References

Muller, Peter. 1993. “The Title of the Work.” The Name of the Journal 4 (2): 201–13.