Creating a Page in TreveccaPedia

Step by step process:

  1. Click the "New Page" button at the top of the page.
  2. Give the new page a title. Be mindful of the title, in the current iteration of TreveccaPedia, page titles can not be modified.
  3. Create a URL Slug for the new page. This is what the web service and database service use to properly identify the page.
  4. Create the content of the new page in Markdown. It's used to generate HTML, but it follows slightly different rules than HTML. See the text formatting guide below for more information.

Web page text is stored in a static file handling system. They are markdown files, which use the following text formatting guide.

Text Formatting Guide

Basic Formatting

Bold text - Use **text** or __text__

Italic text - Use *text* or _text_

Bold and italic - Use ***text***

Headings

Heading 1

# Heading 1

Heading 2

## Heading 2

Heading 3

### Heading 3

Code

Inline code: const x = 5;

Code blocks:

function hello() {
    console.log("World");
}

Links and Images

Link text

[Link text](https://example.com)

Alt text

![Alt text](/image/IMAGE-NAME.EXTENSION) Currently, new images can not be uploaded via the website.

Lists

Unordered:

  • Item 1
  • Item 2
    • Nested item
- Item 1
- Item 2
    - Nested item

Ordered:

  1. First
  2. Second
  3. Third
1. First
2. Second
3. Third

Blockquotes

This is a quote It can span multiple lines

> This is a quote
> It can span multiple lines

Horizontal Rule


---

Tables

Header 1 Header 2
Cell 1 Cell 2
| Header 1 | Header 2 |
|----------|----------|
| Cell 1   | Cell 2   |