Skip to content

Instantly share code, notes, and snippets.

@Vovan-VE
Last active December 25, 2018 04:10
Show Gist options
  • Save Vovan-VE/7c37c253d9e928c98d120d92d4f53b06 to your computer and use it in GitHub Desktop.
Save Vovan-VE/7c37c253d9e928c98d120d92d4f53b06 to your computer and use it in GitHub Desktop.
Test markdown for docs

Title

Array of elements of single type:

# Field Type Description
1 foo Array<App.Foo> Foos, surely.
2 bar Array<App.Bar> Bars.
3 bar Array <App.Bar> Bars.
4 bar Array<App.Bar> Bars.
5 bar Array<App.Bar> Bars.
6 bar Array: App.Bar Bars.
7 bar Array:App.Bar Bars.
8 bar Array: App.Bar Bars.
9 bar Array of App.Bar Bars.
10 bar App.Bar[] Bars.
11 bar Array<App.Bar> Bars.

Array with mixed types:

# Field Type Description
1 baz Array<App.Foo|App.Bar> Bazs.
2 baz Array<App.Foo|App.Bar> Bazs.
3 baz (App.Foo|App.Bar)[] Bazs.

Unions:

# Field Type Description
1 baz App.Foo[]|App.Bar[] Bazs.
2 baz App.Foo[]|App.Bar[] Bazs.
3 baz Array<App.Foo|App.Bar> Bazs.
4 baz Array<App.Foo|App.Bar> Bazs.
5 bridge App.Bridge|NULL This is a bridge.

Did you know? All documentations describes the fields in such C.O. manner.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment