Learn Script Markdown - aliconnect/aliconnect.sdk GitHub Wiki

Markdown

Markdown uitleg

Examples

```md
It's very easy to make some words **bold** and other words *italic* with Markdown.
You can even [link to Google!](http://google.com)
```

It's very easy to make some words **bold** and other words *italic* with Markdown.
You can even [link to Google!](http://google.com)

Syntax guide

Here’s an overview of Markdown syntax that you can use anywhere on GitHub.com or in your own text files.

Headers

```md
# This is an <h1> tag
## This is an <h2> tag
###### This is an <h6> tag
```

Emphasis

*This text will be italic*
_This will also be italic_

This text will be italic

**This text will be bold**
__This will also be bold__

This text will be bold

_You **can** combine them_

You can combine them

Lists

Unordered

* Item 1
* Item 2
    * Item 2a
    * Item 2b
  • Item 1
  • Item 2
    • Item 2a
    • Item 2b

Ordered

1. Item 1
1. Item 2
1. Item 3
    1. Item 3a
    1. Item 3b
  1. Item 1
  2. Item 2
  3. Item 3
    1. Item 3a
    2. Item 3b

Images

![GitHub Logo](/images/logo.png)
Format: ![Alt Text](url)

Links

http://github.com - automatic!
[GitHub](http://github.com)

Blockquotes

As Kanye West said:

> We're living the future so
> the present is our past.

As Kanye West said:

We're living the future so the present is our past.

> [!NOTE] This is a `[!NOTE]` blockquote

[!NOTE] This is a [!NOTE] blockquote

[!IDEA] This is a [!IDEA] blockquote

[!WARNING] This is a [!WARNING] blockquote

[!DEBUG] This is a [!DEBUG] blockquote

[!TODO] This is a [!TODO] blockquote

[!BUG] This is a [!BUG] blockquote

[!TEMP] This is a [!TEMP] blockquote

[!REVIEW] This is a [!REVIEW] blockquote

[!NB] This is a [!NB] blockquote

[!COMBAK] This is a [!COMBAK] blockquote

[!XXX] This is a [!XXX] blockquote

[!FIXME] This is a [!FIXME] blockquote -->

Inline code

I think you should use an
`<addr>` element here instead.

I think you should use an <addr> element here instead.

AIM and GitHub Flavored Markdown

GitHub.com uses its own version of the Markdown syntax that provides an additional set of useful features, many of which make it easier to work with content on GitHub.com.

Note that some features of GitHub Flavored Markdown are only available in the descriptions and comments of Issues and Pull Requests. These include @mentions as well as references to SHA-1 hashes, Issues, and Pull Requests. Task Lists are also available in Gist comments and in Gist Markdown files.

Task Lists

- [x] @mentions, #refs, [links](), **formatting**, and <del>tags supported
- [x] list syntax required (any unordered or ordered list supported)
- [ ] this is an incomplete item
- [v] this is a complete item
  • @mentions, #refs, links, formatting, and tags supported
  • list syntax required (any unordered or ordered list supported)
  • [v] this is a complete item
  • this is an incomplete item

If you include a task list in the first comment of an Issue, you will get a handy progress indicator in your issue list. It also works in Pull Requests!

Tables

You can create tables by assembling a list of words and dividing them with hyphens - (for the first row), and then separating each column with a pipe |:

First Header | Second Header
------------ | -------------
Content from cell 1 | Content from cell 2
Content in the first column | Content in the second column
First Header Second Header
Content from cell 1 Content from cell 2
Content in the first column Content in the second column

Automatic linking for URLs

Any URL (like http://www.github.com/) will be automatically converted into a clickable link as http://www.github.com/.

Text decoration

  • Strikethrough: Any word wrapped with two tildes (like ~~this~~) will appear crossed out.
  • Underline: Any word wrapped with one tildes (like ~this~) will appear underlined.
  • Mark: Any word wrapped with double-caret (like ^^this^^) will appear ^^marked^^.

Syntax highlighting

Here’s an example of how you can use syntax highlighting with GitHub Flavored Markdown:

HTML

<!-- Sample HTML code -->
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport"
        content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
</head>
<body>
  <nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark">
    <a class="nav-link" href="https://aliconnect.nl" target="_blank"></a>
  </nav>
</body>
</html>

JavaScript

/* Sample JavaScript */
var a = {
  string1: 'string',
  string2: "string",
  'string 2': "string",
  ^^"string 3": "string"^^
  number: 123,
}

new Date();

decodeURIComponent('test');
elTest.onclick = (event)=>{}

AIM.obj.obj.fn();
Aim.obj.obj.fn();
Alarm = 10;

a[naam] = 123;
a['naam 2'] = 123;
a["naam 5"] = 123;
if (a == 1) {
  AIM.test.naam = nogwat();
  daar.staat.hij();
} else if {
  daar = null;
} else {
}
AIM.object.attribute = "string"; // Object definitions
function functionName (a,b) {
}
functionName = (a,b) => {
}
var b = functionName('string', 1) {
}

PHP

/* Sample PHP */
$a = [
  "string 1"=> 'string',
  'string 2'=> "string",
  'number'=> 123,
];
if ($a == 1) {
  Aim::test->naam = "";
  $AIM['test']['naam'] = "";
} else if {

} else {

}
AIM::object->attribute = "string"; // Object definitions

JSON

{
  "string": "string",
  "number": 1
}

YAML

# Sample YAML
string: string
number: 1

SQL

/* Sample SQL code */
-- SQL
INSERT into dt.names (Name, Value) VALUES ('John', 'Doe')
SELECT * FROM dt.names

CSS

/* Sample Style Sheet */
.test {
  background-color: 'red';
}

ST

PROGRAM stexample
  VAR
    x : BOOL;
  END_VAR
  x := TRUE;
  REPEAT
    x := FALSE;
  UNTIL x := FALSE;
  END_REPEAT;
END_PROGRAM;
⚠️ **GitHub.com Fallback** ⚠️