Skip to content

Latest commit

 

History

History
254 lines (200 loc) · 11.4 KB

example.org

File metadata and controls

254 lines (200 loc) · 11.4 KB

HTML Element Examples

This file contains example HTML elements for testing.

Headers without text. Level 1

And here’s level 2

Oh jumping jiminy it’s level 3

Sweet Christmas! Level 4

By the sweaty hounds of Hamburg! Level 5
I am not sure level 6 is even a real thing.

Headers with text. Level 1

Ignore this junk.

Level 2

Wait is this important.

Level 3

We need to talk about your attachment to outlines.

Level 4

No really this is getting serious.

Level 5

What needs to be five levels deep? For realsies.

Images

Do you want cool images like this? Go check out unDraw!

PNG

images/undraw_fill_forms_yltj.png

images/undraw_fill_forms_yltj.png

Here is an image floated left with text wrapped around it. This test is for responsive image formatting. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam in ornare nisl. Sed blandit odio purus, id imperdiet elit ultricies ut. Cras vel tempus orci. Mauris eget eros ac diam tempus blandit. Praesent mattis diam non libero finibus, non convallis nisl aliquam. Maecenas volutpat, leo et ultricies vehicula, turpis augue ultrices diam, nec facilisis lectus lacus eu tortor. Nunc tempor eros sed felis vulputate elementum. Proin eleifend porttitor augue quis lacinia. Aliquam erat volutpat. Praesent iaculis justo accumsan lacus dignissim dictum. Aenean interdum lorem in libero mollis, at dignissim lorem pellentesque. Integer ligula ex, varius nec mauris id, consectetur feugiat neque. Maecenas ut est augue. Suspendisse tempus odio vel massa tristique, eget hendrerit sapien tempor. Etiam congue nibh a nibh egestas sollicitudin.

images/undraw_fill_forms_yltj.png

Here is an image floated right with text wrapped around it. We still want this to look good for responsive images. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam in ornare nisl. Sed blandit odio purus, id imperdiet elit ultricies ut. Cras vel tempus orci. Mauris eget eros ac diam tempus blandit. Praesent mattis diam non libero finibus, non convallis nisl aliquam. Maecenas volutpat, leo et ultricies vehicula, turpis augue ultrices diam, nec facilisis lectus lacus eu tortor. Nunc tempor eros sed felis vulputate elementum. Proin eleifend porttitor augue quis lacinia. Aliquam erat volutpat. Praesent iaculis justo accumsan lacus dignissim dictum. Aenean interdum lorem in libero mollis, at dignissim lorem pellentesque. Integer ligula ex, varius nec mauris id, consectetur feugiat neque. Maecenas ut est augue. Suspendisse tempus odio vel massa tristique, eget hendrerit sapien tempor. Etiam congue nibh a nibh egestas sollicitudin.

SVG

images/undraw_body_text_l3ld.svg

Text

This is plain text.[fn:1]

This is bold text.

This is italic text.

This is underlined text.

This is strikethrough text.

This is code text.

This is a sentence with a hyperlink in it.

Links

Here we try something with a complicated inline link.

Block quotes

What follows is a blockquote. What you are reading now is some sample text so you can view the offset.

“I turn my body from the sun. What ho, Tashtego! let me hear thy hammer. Oh! ye three unsurrendered spires of mine; thou uncracked keel; and only god-bullied hull; thou firm deck, and haughty helm, and Pole-pointed prow,—death-glorious ship! must ye then perish, and without me? Am I cut off from the last fond pride of meanest shipwrecked captains? Oh, lonely death on lonely life! Oh, now I feel my topmost greatness lies in my topmost grief. Ho, ho! from all your furthest bounds, pour ye now in, ye bold billows of my whole foregone life, and top this one piled comber of my death! Towards thee I roll, thou all-destroying but unconquering whale; to the last I grapple with thee; from hell’s heart I stab at thee; for hate’s sake I spit my last breath at thee. Sink all coffins and all hearses to one common pool! and since neither can be mine, let me then tow to pieces, while still chasing thee, though tied to thee, thou damned whale! Thus, I give up the spear!”

Verse

Now I’m going to quote Shakespeare, because why not?

Tables

Wide Tables

Most data in this table is from List of Solar System objects by size on Wikipedia.

Solar System ObjectRadius (km)Mass (10^21@@html: @@kg)Gravity (m/s^2)Volume (10^9@@html: @@km^3)Avg. Distance from Sun (km)[fn:2]
/<><>
<20><13><7><13><13>
The Sun696342±651,988,550,000274.01,414,300,0000
Jupiter69911±61,898,60024.791,431,280778,340,821
Saturn58232±6 (w/o@@html:&nbsp;@@rings)568,46010.445827,1301,426,666,422
Uranus25362±786,8328.6968,3402,870,658,186
Neptune24622±19102,43011.1562,5404,498,396,441
Earth6371.0±0.015,973.69.806551,083.21149,598,262
Venus6051.8±1.0 (w/o@@html:&nbsp;@@gas)4,868.58.872928.43108,209,475
Mars3389.5±0.2641.853.721163.18227,943,824
Mercury2439.7±1.0330.23.760.8357,909,227

Source Code

Basic Code

document.addEventListener("DOMContentLoaded", function(event) {
  // Enable side-scrolling tables on mobile.
  document.querySelectorAll('table').forEach(function (e) {
    var div = document.createElement('div');

    div.className += 'table-auto-wrap';
    e.insertAdjacentElement('beforebegin', div);
    div.appendChild(e);
  });
});

Wide Source Code

document.addEventListener("DOMContentLoaded", function(event) {
  // Enable side-scrolling tables on mobile.
  document.querySelectorAll('table').forEach(function (e) { var div = document.createElement('div'); div.className += 'table-auto-wrap'; e.insertAdjacentElement('beforebegin', div); div.appendChild(e); });
});

Source Code Textarea

document.addEventListener("DOMContentLoaded", function(event) {
  // Enable side-scrolling tables on mobile.
  document.querySelectorAll('table').forEach(function (e) {
    var div = document.createElement('div');

    div.className += 'table-auto-wrap';
    e.insertAdjacentElement('beforebegin', div);
    div.appendChild(e);
  });
});

Math

The following example is taken from the Org Manual.

\begin{equation} x=\sqrt{b} \end{equation}

Here’s something more complicated.

\begin{align*} S(ω) &= \frac{α g^2}{ω^5} e[ -0.74\bigl\{\frac{ω U_ω 19.5{g}\bigr\}\!-4\,]}
&= \frac{α g^2}{ω^5} exp\Bigl[ -0.74\Bigl\{\frac{ω U_ω 19.5}{g}\Bigr\}\!-4\,\Bigr] \end{align*}

Footnotes

[fn:1] This is a sample footnote.

[fn:2] Taken from https://space-facts.com/planet-orbits/