##// END OF EJS Templates
Linebreaks in MD
naryl -
r2:d4f83ea8 default
parent child Browse files
Show More
@@ -186,7 +186,7 b''
186 same "printed page" as the copyright notice for easier
186 same "printed page" as the copyright notice for easier
187 identification within third-party archives.
187 identification within third-party archives.
188
188
189 Copyright [yyyy] [name of copyright owner]
189 Copyright [2020] [Alexander Sukhoverkhov]
190
190
191 Licensed under the Apache License, Version 2.0 (the "License");
191 Licensed under the Apache License, Version 2.0 (the "License");
192 you may not use this file except in compliance with the License.
192 you may not use this file except in compliance with the License.
@@ -6,19 +6,18 b' Compiler for QSP games which creates mon'
6
6
7 There are three mastery levels
7 There are three mastery levels
8
8
9 1. Just build me the game:
9 1. Just build me the game:\
10
10 `sugar-qsp game.txt`\
11 `sugar-qsp game.txt`
12 And it will create the game in game.html
11 And it will create the game in game.html
13
12
14 2. I know what I'm doing:
13 2. I know what I'm doing:\
15 `sugar-qsp game.txt -o game.html --body body.html --js jquery.js my-js-library.js --css styles/*.css`
14 `sugar-qsp game.txt -o game.html --body body.html --js jquery.js my-js-library.js --css styles/*.css`
16 All options are self-explanatory. The result is a monolithic html specified
15 All options are self-explanatory. The result is a monolithic html specified
17 with the `-o` option. Default `body.html` (used by the first mastery level) can
16 with the `-o` option. Default `body.html` (used by the first mastery level) can
18 be found in `extas` directory.
17 be found in `extas` directory.
19
18
20 3. I'm a frontend developer!
19 3. I'm a frontend developer!\
21 `sugar-qsp game.txt -c -o game.js`
20 `sugar-qsp game.txt -c -o game.js`\
22 It just builds the game script into a js you can put on your website. To run
21 It just builds the game script into a js you can put on your website. To run
23 the game execute `SugarQSP.start()`
22 the game execute `SugarQSP.start()`
24
23
@@ -29,16 +28,16 b' the game execute `SugarQSP.start()`'
29
28
30 Есть три уровня мастерства.
29 Есть три уровня мастерства.
31
30
32 1. Просто собери мне игру:
31 1. Просто собери мне игру:
33 `sugar-qsp game.txt`
32 `sugar-qsp game.txt`
34 Создаст игру в game.html
33 Создаст игру в game.html
35
34
36 2. Я знаю что делаю:
35 2. Я знаю что делаю:
37 `sugar-qsp game.txt -o game.html --body body.html --js jquery.js my-js-library.js --css styles/*.css`
36 `sugar-qsp game.txt -o game.html --body body.html --js jquery.js my-js-library.js --css styles/*.css`
38 Если вы знаете что делаете, то для вас смысл опций очевиден. `body.html`
37 Если вы знаете что делаете, то для вас смысл опций очевиден. `body.html`
39 по-умолчанию лежит в каталоге `extras`.
38 по-умолчанию лежит в каталоге `extras`.
40
39
41 3. Я - фронтендер!
40 3. Я - фронтендер!
42 `sugar-qsp game.txt -c -o game.js`
41 `sugar-qsp game.txt -c -o game.js`
43 Просто соберёт игру в Javascript файл который вы можете разместить на своём
42 Просто соберёт игру в Javascript файл который вы можете разместить на своём
44 сайте как вам угодно. Для запуска игры вызовите `SugarQSP.start()`.
43 сайте как вам угодно. Для запуска игры вызовите `SugarQSP.start()`.
General Comments 0
You need to be logged in to leave comments. Login now