Tag Reference for ePub export

Ulysses 1.1 ‐ 2013-10-25

The following table gives a mapping from Ulysses markup definitions to HTML tags used in ePub export.
Ellipses (“…”) are replaced with the text inside the tags.

Structure

Markup Definition HTML Output CSS Selector
Heading 1 <h1 class="chapter-title">…</h1> h1.chapter-title
Heading 2 <h2 class="section-title">…</h2> h2.section-title
Heading 3 <h3>…</h3> h3
Heading 4 <h4>…</h4> h4
Heading 5 <h5>…</h5> h5
Heading 6 <h6>…</h6> h6

Paragraph

Markup Definition HTML Output CSS Selectors
Comment (Deleted)  
Divider <hr /> hr
Code Block <pre><code>…</code></pre> pre, code
Raw Source (Unchanged)  

Grouping

Markup Definition HTML Output CSS Selectors
Ordered List <ol><li>…</li></ol> ol, li
Unordered List <ul><li>…</li></ul> ul, li
Block Quote <blockquote>…</blockquote> blockquote

Text

Markup Definition HTML Output CSS Selector
Strong <strong>…</strong> strong
Emphasis <em>…</em> em
Marked (Unchanged)  
Delete (Deleted)  
Inline Comment (Deleted)  
Inline Code <code>…</code> code
Inline Raw Source (Unchanged)  

Attributed Text

Markup Definition HTML Output CSS Selector
Link <a href="URL" title="Title">…</a> a
Annotation (Deleted)  

Text Objects

Markup Definition HTML Output CSS Selectors
Image <img src="URL" title="Title" alt="Desc." /> img
Video <video src="URL" title="Title" /> video
Footnote Link: <sup><a epub:type="noteref" class="footnote">Index</a></sup>
Reference: <aside epub:type="footnote">…</aside>
sup, a.footnote