Public Lab Wiki documentation



Authoring Help

This is a revision from November 20, 2013 22:53. View all revisions
16 | 59 | | #6897

Intro video

Formatting

PublicLab.org uses Markdown, a simple way to add formatting to web pages. You can read about Markdown here, but if you want to keep things simple, you can just write in plain text and things should "just work".

A great list of available Markdown syntax can be found here: http://daringfireball.net/projects/markdown/syntax

Advanced formatting

Hyperlinks

To embed a link in clickable text, type the text in square brackets directly followed by the url in parentheses:
[Click here for PublicLab](http://publiclab.org/home)
This is displayed as: Click here for PublicLab

Images

  • To add an image:
  • Place the cursor where you want an image to be.
  • Drag and drop a jpg, png, or gif file to that place.
  • Some code like this will appear:

[![filename.jpg](https://i.publiclab.org/system/images/photos/000/001/446/medium/filename.jpg)] (https://i.publiclab.org/system/images/photos/000/001/446/original/filename.jpg)

  • Change the word "medium" to "large" to display a larger image.

Captions

  • To add a figure caption under an image, place the image code as above.
  • Directly after the last closing parenthesis, enter two spaces (this is a line break and ensures that the caption will start on the following line).
  • Under that line enter your caption. Start and end your caption with an asterisk to make the text italics.
  • Directly after the last asterisk enter two spaces (to separate your caption from following text).

Lists

Make a bulleted list by starting with a blank line and then starting each line with *, +, or - followed by a space:

* Balloons
* Kites
* Poles

Will display as:

  • Balloons
  • Kites
  • Poles

For numbered lists, after a blank line start each item with any number, a period, and a space:

1. Balloons
7. Kites
4. Poles

Will display as:

  1. Balloons
  2. Kites
  3. Poles

To indent a line, indent it at least four spaces for each indent (sometimes fewer works):

  1. Mapping tools
    1. Balloons
    2. Kites
    3. Poles
  2. Spectral tools
    1. Spectrometer
    2. Infragram

Code

To enter examples of code (html, markdown, Javascript, etc) so that it will not be interpreted, begin and end the text with backtick quotes (on an American keyboard, that's on the key with the tilde ~; on a British keyboard it's usually in the top left-hand corner of the keyboard, with the |).

Buttons and other HTML

...this is a wiki... help flesh this out!

...