CHIP.icu

Industrial Society and its Future (?)

Demo Post

  • admin

A demonstration of supported markup, originally used in testing, to show writers what they can use.

Headers New Paragraph New Line Escaping Lists Inline formatting Unicode Autolink Code Links Images Tables Horizontal Rules Tasklists Blockquotes

Headers

Headers are automatically assigned a valid HTML5 id:

These syntaxes are supported:

Header 1
========
Header 2
--------
# Header 1
## Header 2
### Header 3
#### Header 4
##### Header 5
###### Header 6

h1 is exclusively used for article headers, as per semantic definition.

Header 2

Header 3

Header 4

Header 5
Header 6

^up

New Paragraph

A blank line between lines creates a new paragraph.

Paragraph 1

Paragraph 2

^up

New Line

To force a new line:

Spaces  
here

Slash \
here

HTML <br>
here

Spaces
here

Slash
here

HTML
here

^up

Escaping

Prepend a \.

^up

Lists

- Hello
- world!

100. Hello
7. world!  Only the first number in a sequence matters.

Multiple lists in a row need to be interrupted by a paragraph, otherwise the empty line causes the list items to be wrapped in paragraphs themselves.

- foo
  - bar
    1. foo
    2. bar

Nested lists cannot change starting number as of now. It works with an extra newline, but of course that adds inconsistent space.
  1. Hello
  2. world! Only the first number in a sequence matters.

Multiple lists in a row need to be interrupted by a paragraph, otherwise the empty line causes the list items to be wrapped in paragraphs themselves.

Nested lists cannot change starting number as of now. It works with an extra newline, but of course that adds inconsistent space.

See the spec for details, it's quite complex. * can be used as well, but consistently.

^up

Inline formatting

StyleSyntaxOutput
BoldHello **dear** world!Hello dear world!
BoldHello __dear__ world!Hello dear world!
ItalicHello *dear* world!Hello dear world!
ItalicHello _dear_ world!Hello dear world!
StrikethroughHello ~~dear~~ world!Hello dear world!
Bold and ItalicHello ***dear*** world!Hello dear world!
Bold and ItalicHello ___dear___ world!Hello dear world!

Bold yields the 'strong' attribute, italic 'emphasis'. They should be used semantically where possible, not just for visuals.

^up

Unicode

The font set and stack is highly optimized, so let's test fallbacks:

Vågøyvannet Rundt 汉语; traditional Chinese: 漢語; pinyin: Hànyǔ[b] or also 中文; Zhōngwén

ॐ असतो मा सद्गमय । तमसो मा ज्योतिर्गमय । मृत्योर्मा अमृतं गमय । ॐ शान्तिः शान्तिः शान्तिः ॥

^up

<https://chip.icu>
https://chip.icu

^up

Code

inline

import `#include <fcntl.h>` to

import #include <fcntl.h> to

block

If nesting is required, add additional backticks to the surrounding bracket.

^up

[CHIP](https://chip.icu)
CHIP

^up

Images

![Alt text](./1003-200x300.jpg)
[full](foo)
![Alt text](./1003-400x150.jpg)
[full](foo)

Alt text full Alt text full

^up

Tables

| Fruit | Species | Genus | Family |
|:----- | :----:|-----|-------:|
| Red Raspberry | R. idaeus | Rubus  | Rosaceae |
| Rowan Berry | S. aucuparia | Sorbus | Rosaceae |
FruitSpeciesGenusFamily
Red RaspberryR. idaeusRubusRosaceae
Rowan BerryS. aucupariaSorbusRosaceae

Column alignment can be explicitly set via : orientation. The spacing of the table markup is irrelevant.

^up

Horizontal Rules

3+ * or - on a new line

Horizontal
***
Rule

Horizontal


Rule

^up

Tasklists

Are not currently supported, but look pretty neat without any additional styling already:

- [X] foo
  - [X] bar
- [ ] bim

* [ ] to do
* [X] done

^up

Blockquotes

> Habt Ehrfurcht vor dem Baum.  
Er ist ein einziges groszes Wunder,  
und euren Vorfahren war er heilig.  
>
> Die Feindschaft gegen den Baum ist ein  
Zeichen der Minderwertigkeit eines Volkes  
und von niederer Gesinnung des einzelnen.

*- author uncertain, possibly Alexander Humboldt*

\- author uncertain, possibly Alexander Humboldt

Habt Ehrfurcht vor dem Baum.
Er ist ein einziges groszes Wunder,
und euren Vorfahren war er heilig.

Die Feindschaft gegen den Baum ist ein
Zeichen der Minderwertigkeit eines Volkes
und von niederer Gesinnung des einzelnen.

- author uncertain, possibly Alexander Humboldt

- author uncertain, possibly Alexander Humboldt

Continuations are allowed, but for an empty line in between, you do need an > in front.