https://github.com/liascript/scrom12export
https://github.com/liascript/scrom12export
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/liascript/scrom12export
- Owner: LiaScript
- License: unlicense
- Created: 2020-07-10T07:17:49.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-07-10T19:28:54.000Z (over 5 years ago)
- Last Synced: 2025-02-17T23:46:32.529Z (11 months ago)
- Size: 71.3 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# scrom12export
This is your **course** initialization stub.
Please see the [Docs](https://liascript.github.io/course/?https://raw.githubusercontent.com/liaScript/docs/master/README.md)
to find out what is possible in [LiaScript](https://liascript.github.io).
If you want to use instant help in your Atom IDE, please type **lia** to see all available shortcuts.
## Markdown
You can use common [Markdown](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet) syntax to create your course, such as:
1. Lists
2. ordered or
* unordered
* ones ...
| Header 1 | Header 2 |
| :--------- | :--------- |
| Item 1 | Item 2 |
Images:

### Extensions
--{{0}}--
But you can also include other features such as spoken text.
--{{1}}--
Insert any kind of audio file:
{{1}}
?[audio](https://bigsoundbank.com/UPLOAD/mp3/1068.mp3)
--{{2}}--
Even videos or change the language completely.
{{2-3}}
!?[video](https://www.youtube.com/watch?v=bICfKRyKTwE)
--{{3 Russian Female}}--
Первоначально создан в 2004 году Джоном Грубером (англ. John Gruber) и Аароном
Шварцем. Многие идеи языка были позаимствованы из существующих соглашений по
разметке текста в электронных письмах...
{{3}}
Type "voice" to see a list of all available languages.
### Styling
The whole text-block should appear in purple color and with a wobbling effect.
Which is a **bad** example, please use it with caution ...
~~ only this is red ;-) ~~
## Charts
Use ASCII-Art to draw diagrams:
Multiline
1.9 | DOTS
| ***
y | * *
- | r r r r r r r*r r r r*r r r r r r r
a | * *
x | * *
i | B B B B B * B B B B B B * B B B B B
s | * *
| * * * * * *
-1 +------------------------------------
0 x-axis 1
## Quizzes
### A Textquiz
What did the **fish** say when he hit a **concrete wall**?
[[dam]]
### Multiple Choice
Just add as many points as you wish:
[[X]] Only the **X** marks the correct point.
[[ ]] Empty ones are wrong.
[[X]] ...
### Single Choice
Just add as many points as you wish:
[( )] ...
[(X)] <-- Only the **X** is allowed.
[( )] ...
## Executable Code
A drawing example, for demonstrating that any JavaScript library can be used, also for drawing.
```javascript
// Initialize a Line chart in the container with the ID chart1
new Chartist.Line('#chart1', {
labels: [1, 2, 3, 4],
series: [[100, 120, 180, 200]]
});
// Initialize a Line chart in the container with the ID chart2
new Chartist.Bar('#chart2', {
labels: [1, 2, 3, 4],
series: [[5, 2, 8, 3]]
});
```
@input
### Projects
You can make your code executable and define projects:
``` js -EvalScript.js
let who = data.first_name + " " + data.last_name;
if(data.online) {
who + " is online"; }
else {
who + " is NOT online"; }
```
``` json +Data.json
{
"first_name" : "Sammy",
"last_name" : "Shark",
"online" : true
}
```
// insert the JSON dataset into the local variable data
let data = @input(1);
// eval the script that uses this dataset
eval(`@input(0)`);
## More
Find out what you can even do more with quizzes:
https://liascript.github.io/course/?https://raw.githubusercontent.com/liaScript/docs/master/README.md