-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocs.html
More file actions
147 lines (106 loc) · 6.06 KB
/
docs.html
File metadata and controls
147 lines (106 loc) · 6.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Neuron - Docs | VWAS Studios</title>
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="http://tachyons.io/css/tachyons.min.css">
<meta name="author" content="@enociz">
<meta name="keywords" content="neuron, markup, Vladmir, Danila, Enoch, Appathurai, Codinator, Code, language, templating, convert, HTML, brain, Playgrounds, Projects, VWAS, v, w, a, s, studios, studio, help">
<meta name="description" content="Neuron is a markup language from the team at VWAS Studios. It is featured in their application: Codinator. Find out more by visiting this site.">
<meta name="robots" content="index, follow, archive, snippet">
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1">
<!--[if ie]>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta http-equiv="imagetoolbar" content="false" />
<![endif]-->
<link rel="shortcut icon" href="favicon.png">
</head>
<body class="man pan w-100">
<header class="dt bg-neu-orange white paxs man h3">
<nav class="dtc v-mid pan man">
<ul class="w-100 pln mvn mln tl tc-ns">
<li class="dib link">
<a class="link semibold bold-ns ttu-ns tracked-mega-ns dim white pas pam-ns" href="/neuron">Home</a>
</li>
<li class="dib ">
<a class="link semibold bold-ns ttu-ns tracked-mega-ns dim white pas pam-ns" href="/neuron/docs">Docs</a>
</li>
<li class="dib ">
<a class="link semibold bold-ns ttu-ns tracked-mega-ns dim white pas pam-ns" href="/neuron/press">Press Kit</a>
</li>
<li class="dib ">
<a class="link semibold bold-ns ttu-ns tracked-mega-ns dim white pas pam-ns" href="/">VWAS Studios</a>
</li>
</ul>
</nav>
<!--<nav class="h2">
<ul class="list cf">
<li class="f3 fl b ttu"><a href="index.html" class="white no-underline">NEURON</a></li>
<li class="dib dn-ns f3 fr mln mra mvn"><a href="#" class="mln mra white no-underline hide-sibling">See More ▼</a>
<ul class="sibling man pan bg-white list ba b--near-black">
<li class="f4 tr"><a href="docs.html" class="tr black no-underline">Documentation</a>
<li class="f4 tr"><a href="press.html" class="tr black no-underline">Press Kit</a>
<li class="f4 tr"><a href="http://vwas.pfweb.eu" class="tr black no-underline">VWAS Studios</a>
</ul>
</li>
</ul>
</nav>-->
</header>
<main class="pas measure center">
<h1>Neuron | Docs</h1>
<h2>Importing</h2>
<p>Importing frameworks are more efficient as Neuron only converts what it needs and leaves the bloat behind from your CSS and JS frameworks</p>
<hr />
<h2>Media-based programming</h2>
<p>When writing your code, you can target specific devices using our mind-blowingly simple media queries and serve to them the HTML, CSS and JS that they need.</p>
<p>To use these media queries, you use:</p>
<pre><code>IF(is{DeviceName})
{do this code}
ENDIF(is{DeviceName})
</code></pre>
<p>However, make sure that you replace <code>{DeviceName}</code> with the type of device you’re targeting (we support <code>Mobile</code>, <code>PC</code>, <code>Console</code>, <code>Mac</code>, <code>Windows</code>) and <code>{code}</code> with whatever code you need specifically for that device.</p>
<p>The browser will only be served up content for its device meaning that your pages load a lot faster.</p>
<blockquote>
<p><strong>Pro Tip</strong></p>
<p>Build your sites Mobile First and Additively. This means that you build what the smallest device and add in the components that bigger devices will use so that you avoid having unnecessary code.</p>
</blockquote>
<hr />
<h2>The Syntax</h2>
<p>Neuron has two types of syntax. The first is the block syntax that is to be used for basic page layout. The second is the modifier syntax which is used for bonding, italicising, striking through and hyperlinking content on your page.</p>
<h3>Block Syntax</h3>
<p>Neuron’s block layout is as follows:</p>
<pre><code>{ELEMENT}
{content}
/{ELEMENT}
</code></pre>
<p>Replace <code>{ELEMENT}</code> with the HTML element that you desire such as <code>SECTION</code> or <code>P</code> or <code>IMG(src: "path/to/pic.png", alt: "alternative text")</code> (more on that last one later).</p>
<p><strong>PSA:</strong> Neuron only recognises CAPITAL LETTERS for it’s syntaxes - remember to use them.</p>
<p>Replace <code>{content}</code> with the rest of the content on your page. This can be another block or it can be a modifier.</p>
<h3>Modifiers’ Syntax</h3>
<p>Modifiers are objects in your page that are specific and small. This is things like bold, italic, strikethrough or an anchor.</p>
<p>Modifiers are written as follows:</p>
<pre><code>{Modifier}("{content}"){Modifier}
</code></pre>
<p>where <code>{Modifier}</code> is replaced with a modifier element such as <code>B</code> (note the CAPS) and {content} is text or other content like “This is bolded text”.</p>
<h3>Attributes</h3>
<h3>Hierarchy through Tabbing</h3>
<ul>
<li>variables (coming 2016)</li>
<li>open source (coming 2016)</li>
</ul>
</main>
<hr>
<footer class="pas">
<h6>© 2015 VWAS Studios. Neuron™ is a trademark of VWAS Studios Inc. All rights reserved. For information on referring to Neuron in other places, please refer to the <a href="press.html">press kit</a>.</h6>
</footer>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-63849640-3', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>