Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: add note about heading

...

  • Headings should start from level 2, because level 1 is reserved for article titles.
  • Do not skip levels when making subsections, so a subsection of a level 2 needs a level 3 heading and so on.
  • Avoid using links in headings because they break style consistency and do not stand out well enough.

    Note

    Please avoid to write any text deeper than heading 4. Going below may lost the reader with too many sub-levels.

Code formatting

When inserting inline code, use monospace format. Example:

...

For large code block, insert the code block macro: choose your syntax, check the Collapsible option and use the Midnight DJango theme.

Code Block
languagejs
themeMidnight
collapsetrue
"use strict";

// require npm packages
const bl = require('bl');
const https = require('https');

// require modules
const exportAsCsv = require('./exportAsCsv.js');
const address = require('./settings.js').address;

...

  •  Blank horizontal lines are most of the time automatically managed by the wiki software formatting templates. Unless for a good reason, type your text, paragraph or headers, without manually added blank lines.
  •  Use a single space to separate sentences in the same paragraph (i.e. after period marks).
  •  Avoid using multiple blank lines to space out paragraphs or sections.
  •  Separate list characters from their items with a space.
  •  Individual list items cannot be separated by blank lines, otherwise the wiki parser will start a new list for each item.
  •  Separate special blocks (lists, code blocks, note, tip, warning etc.) from normal text with an empty line.

...

Status

...

You may see sometimes some color blocks containing INCOMPLETE (yellow)or TO WRITE (red). These markers are Status

...

You can create a link to a page/heading from the wiki, or any external web page. To do this, click the "Insert link" icon on the menu.

...