Heading
7 |Paragraph of an article
8 |Hello world!
82 | 83 | `, 84 | }, 85 | }; 86 | 87 | module.exports = html; -------------------------------------------------------------------------------- /json/languages/java/java.js: -------------------------------------------------------------------------------- 1 | const java = { 2 | name: 'Java', 3 | description_short: 'Java is a high-level object-oriented programming language developed by Sun Microsystems.', 4 | description: 'Java is a general-purpose programming language that is class-based, object-oriented, and designed to have as few implementation dependencies as possible. It is intended to let application developers write once, run anywhere, meaning that compiled Java code can run on all platforms that support Java without the need for recompilation.', 5 | paradigm: ['functional', 'imperative', 'object-oriented'], 6 | developed_by: [ 7 | { 8 | name: "James Gosling", 9 | endpoint: "/developers/james-gosling", 10 | website: "http://nighthacks.com/jag/blog/400/index.html", 11 | twitter: "https://twitter.com/errcraft" 12 | } 13 | ], 14 | first_appeared: '1995-05-23', 15 | version: { 16 | current_stable: { 17 | version_name: 'Java SE 14', 18 | code_name: '{{UNKNOWN}}', 19 | release_data: "March 2020" 20 | }, 21 | upcoming_version: { 22 | version_name: "Java SE 15", 23 | code_name: "{{UNKNOWN}}", 24 | expected_release_date: "September 2020" 25 | }, 26 | all_versions: [ 27 | { 28 | version_name: 'JDK Beta', 29 | code_name: '{{UNKNOWN}}', 30 | release_date: '1995' 31 | }, 32 | { 33 | version_name: 'JDK 1.0', 34 | code_name: '{{UNKNOWN}}', 35 | release_date: 'January 1996' 36 | }, 37 | { 38 | version_name: 'JDK 1.1', 39 | code_name: '{{UNKNOWN}}', 40 | release_date: 'February 1997' 41 | }, 42 | { 43 | version_name: 'J2SE 1.2', 44 | code_name: '{{UNKNOWN}}', 45 | release_date: 'December 1998' 46 | }, 47 | { 48 | version_name: 'J2SE 1.3', 49 | code_name: '{{UNKNOWN}}', 50 | release_date: 'May 2000' 51 | }, 52 | { 53 | version_name: 'J2SE 1.4', 54 | code_name: '{{UNKNOWN}}', 55 | release_date: 'February 2002' 56 | }, 57 | { 58 | version_name: 'J2SE 5.0', 59 | code_name: '{{UNKNOWN}}', 60 | release_date: 'September 2004' 61 | }, 62 | { 63 | version_name: 'Java SE 6', 64 | code_name: '{{UNKNOWN}}', 65 | release_date: 'SDecember 2006' 66 | }, 67 | { 68 | version_name: 'Java SE 7', 69 | code_name: '{{UNKNOWN}}', 70 | release_date: 'July 2011' 71 | }, 72 | { 73 | version_name: 'Java SE 8 (LTS)', 74 | code_name: '{{UNKNOWN}}', 75 | release_date: 'March 2014' 76 | }, 77 | { 78 | version_name: 'Java SE 9', 79 | code_name: '{{UNKNOWN}}', 80 | release_date: 'September 2017' 81 | }, 82 | { 83 | version_name: 'Java SE 10', 84 | code_name: '{{UNKNOWN}}', 85 | release_date: 'March 2018' 86 | }, 87 | { 88 | version_name: 'Java SE 11 (LTS)', 89 | code_name: '{{UNKNOWN}}', 90 | release_date: 'September 2018' 91 | }, 92 | { 93 | version_name: 'Java SE 12', 94 | code_name: '{{UNKNOWN}}', 95 | release_date: 'March 2019' 96 | }, 97 | { 98 | version_name: 'Java SE 13', 99 | code_name: '{{UNKNOWN}}', 100 | release_date: 'September 2019' 101 | }, 102 | { 103 | version_name: 'Java SE 14', 104 | code_name: '{{UNKNOWN}}', 105 | release_date: 'March 2020' 106 | }, 107 | ], 108 | }, 109 | typing_discipline: ['static', 'strong', 'safe', 'nominative', 'manifest'], 110 | platform: ['cross-platform'], 111 | operating_system: ['all'], 112 | license: ['open standard'], 113 | examples: { 114 | hello_world: 'public class Hello {\n\tpublic static void main(String[] args) {\n\t\tSystem.out.println("Hello World!");\n\t}\n}', 115 | }, 116 | }; 117 | 118 | module.exports = java; 119 | -------------------------------------------------------------------------------- /json/languages/javascript/javascript.js: -------------------------------------------------------------------------------- 1 | const javascript = { 2 | name: 'Javascript', 3 | description_short: 'JavaScript is a programming language that conforms to the ECMAScript specification.', 4 | description: 'JavaScript, often abbreviated as JS, is a programming language that conforms to the ECMAScript specification. JavaScript is high-level, often just-in-time compiled, and multi-paradigm. It has curly-bracket syntax, dynamic typing, prototype-based object-orientation, and first-class functions.', 5 | paradigm: ['event-driven', 'functional', 'imperative'], 6 | developed_by: [ 7 | { 8 | name: "Brendan Eich", 9 | endpoint: "/developers/brendan-eich", 10 | website: "https://brendaneich.com/", 11 | twitter: "https://twitter.com/BrendanEich" 12 | } 13 | ], 14 | first_appeared: '1995-12-04', 15 | version: { 16 | current_stable: { 17 | version_name: 'ECMASCRIPT 2019', 18 | code_name: 'ES19', 19 | release_data: "June 2019" 20 | }, 21 | upcoming_version: { 22 | version_name: "ECMASCRIPT 2020", 23 | code_name: "ES20", 24 | expected_release_date: "TBC" 25 | }, 26 | all_versions: [ 27 | { 28 | version_name: 'v1.0', 29 | code_name: '', 30 | release_date: '' 31 | }, 32 | ], 33 | }, 34 | typing_discipline: ['dynamic', 'duck'], 35 | platform: ['cross-platform'], 36 | operating_system: ['all'], 37 | license: ['open standard'], 38 | examples: { 39 | hello_world: 'alert("Hello World")', 40 | }, 41 | }; 42 | 43 | module.exports = javascript; 44 | -------------------------------------------------------------------------------- /json/languages/kotlin/kotlin.js: -------------------------------------------------------------------------------- 1 | const kotlin = { 2 | name: "Kotlin", 3 | description_short: 4 | "Kotlin is a modern, cross-platform, multi-purpose programming language", 5 | description: 6 | "Kotlin is a cross-platform, multi-purpose modern programming language. Knownfor its concise syntax and pragmatic design, Kotlin provides ample opportunitiesfor code-sharing and code-reuse between multiple projects on multiple platforms,for productive concurrent programming.", 7 | paradigm: ["functional", "object-oriented"], 8 | developed_by: [ 9 | { 10 | name: "JetBrains", 11 | endpoint: "https://www.jetbrains.com/", 12 | website: "https://kotlinlang.org/", 13 | twitter: "https://twitter.com/kotlin", 14 | }, 15 | ], 16 | first_appeared: "2011", 17 | version: { 18 | current_stable: { 19 | version_name: "Kotlin 1.3.72", 20 | code_name: "{{UNKNOWN}}", 21 | release_data: "April 15, 2020", 22 | }, 23 | upcoming_version: { 24 | version_name: "Kotlin 1.4-M2", 25 | code_name: "{{UNKNOWN}}", 26 | expected_release_date: "June 4, 2020", 27 | }, 28 | all_versions: [ 29 | { 30 | version_name: "{{UNKNOWN}}", 31 | code_name: "{{UNKNOWN}}", 32 | release_date: "{{UNKNOWN}}", 33 | }, 34 | ], 35 | }, 36 | typing_discipline: ["inferred", "static", "strong"], 37 | platform: ["JVM", "JavaScript", "LLVM"], 38 | operating_system: ["Cross-platform"], 39 | license: ["Apache License 2.0"], 40 | example_snippets: { 41 | hello_world: 'fun main(args: Arrayelement in the page", 47 | }, 48 | 49 | { 50 | name: ".class", 51 | example: ".highlight", 52 | description: 53 | "Selects all the elements in the page with class='highlight'", 54 | }, 55 | { 56 | name: "element.class", 57 | example: "p.highlight", 58 | description: 59 | "Selects all the
element in the page with class='highlight'", 60 | }, 61 | 62 | { 63 | name: "element,element", 64 | example: "div,p", 65 | description: "Selects all the
in the page", 66 | }, 67 | 68 | { 69 | name: "element element", 70 | example: "div p", 71 | description: 72 | "Selects all the
elements in the page which are inside the
elements where the parent is a
elements which is placed immediatly after the
element that are preceded by a
element that is the first child of its parent", 156 | }, 157 | 158 | { 159 | name: ":focus", 160 | example: "input:focus", 161 | description: "Selects the input element which has focus", 162 | }, 163 | 164 | { 165 | name: ":visited", 166 | example: "a:visited", 167 | description: "Selects link when it is visted or clicked", 168 | }, 169 | 170 | { 171 | name: ":last-child", 172 | example: "p:last-child", 173 | description: 174 | "Selects the
element which is the last element of it's parent", 175 | }, 176 | 177 | { 178 | name: ":nth-child(n)", 179 | example: "p:nth-child(3)", 180 | description: 181 | "Selects the
element which is the 3rd child of it's parent", 182 | }, 183 | 184 | { 185 | name: ":nth-last-child(n)", 186 | example: "p:nth-last-child(3)", 187 | description: 188 | "Selects every
element that is the second child of its parent, counting from the last child",
189 | },
190 | ],
191 | };
192 |
193 | module.exports = selectors;
194 |
--------------------------------------------------------------------------------
/v1/languages/html/a.js:
--------------------------------------------------------------------------------
1 | const A = {
2 | name: "A",
3 | description:
4 | "The tag defines a hyperlink, which is used to link to another document. Destination is specified in HREF attribute",
5 | example:
6 | " I'm a link to ZTM community ",
7 | };
8 |
9 | module.exports = A;
10 |
--------------------------------------------------------------------------------
/v1/languages/html/abbr.js:
--------------------------------------------------------------------------------
1 | const Abbr = {
2 | name: "Abbr",
3 | description:
4 | "The HTML Abbreviation element () represents an abbreviation or acronym; the optional title attribute can provide an expansion or description for the abbreviation. If present, title must contain this full description and nothing else.",
5 | example: `
6 |
7 | You can use CSS to style your HTML.
8 | Paragraph of an articleHeading
7 |