Skip to content

Instantly share code, notes, and snippets.

@lmullen
Created February 22, 2012 17:02
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save lmullen/c26556c14a1834af5906 to your computer and use it in GitHub Desktop.
Example of a Markdown document converted into several formats by Pandoc
<h1 id="this-is-the-most-important-heading">This Is The Most Important Heading</h1>
<p>Be sure to read William James, <em>The Varieties of Religious Experience</em>.</p>
<p>James's book will <strong>definitely</strong> be covered on the final exam.</p>
<p>You must be able to discuss James's definition of religion:</p>
<blockquote>
<p>Religion, therefore, as I now ask you arbitrarily to take it, shall mean for us the feelings, acts, and experiences of individual men in their solitude, so far as they apprehend themselves to stand in relation to whatever they may consider the divine.</p>
</blockquote>
<p>James's book is available in full text at Google Books <a href="http://books.google.com/books?id=OESbXvtUkIsC"><code class="url">http://books.google.com/books?id=OESbXvtUkIsC</code></a>.</p>
<h2 id="this-is-a-subhead">This is a Subhead</h2>
<ul>
<li>An item.</li>
<li>Another item.</li>
<li>Yet another item.</li>
</ul>
<ol style="list-style-type: decimal">
<li>Item one.</li>
<li>Item two.</li>
<li>Item three.</li>
</ol>
<p>William James offered a narrow definition of religion for the purposes of the Gifford Lectures.<sup><a href="#fn1" class="footnoteRef" id="fnref1">1</a></sup></p>
<div class="footnotes">
<hr />
<ol>
<li id="fn1"><p>William James, <em>The Varieties of Religious Experience</em> (New York: Longman, Green, and Co., 1903); cf. Thomas Tweed, <em>Crossing and Dwelling: A Theory of Religion</em> (Cambridge, MA: Harvard University Press, 2008).<a href="#fnref1"></a></p></li>
</ol>
</div>

% My Markdown Sample

This Is The Most Important Heading

Be sure to read William James, The Varieties of Religious Experience.

James's book will definitely be covered on the final exam.

You must be able to discuss James's definition of religion:

Religion, therefore, as I now ask you arbitrarily to take it, shall mean for us the feelings, acts, and experiences of individual men in their solitude, so far as they apprehend themselves to stand in relation to whatever they may consider the divine.

James's book is available in full text at Google Books http://books.google.com/books?id=OESbXvtUkIsC.

This is a Subhead

  • An item.
  • Another item.
  • Yet another item.
  1. Item one.
  2. Item two.
  3. Item three.

William James offered a narrow definition of religion for the purposes of the Gifford Lectures.1

Footnotes

  1. William James, The Varieties of Religious Experience (New York: Longman, Green, and Co., 1903); cf. Thomas Tweed, Crossing and Dwelling: A Theory of Religion (Cambridge, MA: Harvard University Press, 2008).

\section{This Is The Most Important Heading}
Be sure to read William James, \emph{The Varieties of Religious
Experience}.
James's book will \textbf{definitely} be covered on the final exam.
You must be able to discuss James's definition of religion:
\begin{quote}
Religion, therefore, as I now ask you arbitrarily to take it, shall mean
for us the feelings, acts, and experiences of individual men in their
solitude, so far as they apprehend themselves to stand in relation to
whatever they may consider the divine.
\end{quote}
James's book is available in full text at Google Books
\url{http://books.google.com/books?id=OESbXvtUkIsC}.
\subsection{This is a Subhead}
\begin{itemize}
\item
An item.
\item
Another item.
\item
Yet another item.
\end{itemize}
\begin{enumerate}[1.]
\item
Item one.
\item
Item two.
\item
Item three.
\end{enumerate}
William James offered a narrow definition of religion for the purposes
of the Gifford Lectures.\footnote{William James, \emph{The Varieties of
Religious Experience} (New York: Longman, Green, and Co., 1903); cf.
Thomas Tweed, \emph{Crossing and Dwelling: A Theory of Religion}
(Cambridge, MA: Harvard University Press, 2008).}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment