Welcome to Sample Website!

Chengping Chai, Penn State, prepared for the Penn State Geoscience Computer Users Group.

Let me show you how to build a website without knowing html. You don’t even need to know Python.

You can add text to your website just by typing. You may highlight your text in bold or in italics.

Here is a list:

  • Item 1
  • Item 2
  • Item 3

Enumerated List:

  1. Item 1
  2. Item 2
  3. Item 3

This is a heading

Another heading

One more heading

Adding a link is easy. Google

Table is supported.

Header 1 Header 2 Header 3
Row 1 1 A
Row 2 2 B

You can also show an equation in a line \(a^2 + b^2 = c^2\) and by itself.

\[(a + b)^2 = a^2 + 2ab + b^2\]

Of course, you can add an image.

_images/nittanyLion.jpg

You can resize the image and add a link.

_images/nittanyLion.jpg

Highlighting your code is a simple task.

x = 1
if x == 1:
    print "Hello, world."
#include <stdio.h>
int main( ) {
        printf("Hello World!\n");
}
! Hello World in Fortran 90 and 95

PROGRAM HelloWorld
     WRITE(*,*)  "Hello World!"
END PROGRAM

You can also provide a link to download a file.

Click to download the image

To add a new page, you just create a new file (newpage.rst) and add the filename (with path if in a different folder) beneath the toctree with indent. In the file, I have the following lines.

.. _newpage:

New Page
==============================

This is a new page.

You create a link to the new page. New Page

Contents:

Indices and tables