Skip to content

Instantly share code, notes, and snippets.

@tomtaylor
Last active August 29, 2015 14:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomtaylor/ed88b173444b8f2a3c58 to your computer and use it in GitHub Desktop.
Save tomtaylor/ed88b173444b8f2a3c58 to your computer and use it in GitHub Desktop.
PaperLater Markup Examples
<html lang="en">
<head>
<!-- instead of the lang attribute on html, you may also use... -->
<meta name="DC.language" content="en">
</head>
<body>
<div class="hentry">
<h2 class="entry-title">Example Title</h2>
<p>
Published on <time pubDate="2014-01-01T00:00:00+00:00">1st January 2014</time>
by
<span class="vcard author">
<span class="fn">Example Author</span>
</span>
<!-- or you may also use... -->
<span rel="author">Example Author</span>
</p>
<div class="entry-summary">Summary of the article...</div>
<div class="entry-content">
<p>Here's where the body goes...</p>
<!-- body continues -->
<blockquote class="entry-unrelated">
This element will be stripped from the body.
</blockquote>
<figure>
<img src="/image.jpg" alt="Nice picture">
<figcaption>
A nice picture, by
<a href="http://www.examples.com/">Photographer</a>
</figcaption>
</figure>
<!-- body continues -->
</div>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment