@liascript/editor 1.1.6--0.15.11 → 1.1.7--0.15.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (155) hide show
  1. package/CHANGELOG.md +1350 -0
  2. package/README.md +1 -1
  3. package/dist/ace.js +1 -1
  4. package/dist/index.270309fa.js +1 -0
  5. package/dist/{index.047d8624.js → index.2b67d179.js} +1 -1
  6. package/dist/{index.e09f5318.js → index.3d681c84.js} +1 -1
  7. package/dist/index.7748fab8.js +6 -0
  8. package/dist/index.96efa9cf.js +6 -0
  9. package/dist/index.d57ed7b9.js +1 -0
  10. package/dist/index.html +1 -1
  11. package/dist/theme-cloud_editor.js +1 -1
  12. package/dist/theme-cloud_editor_dark.js +1 -1
  13. package/package.json +3 -3
  14. package/.elm/0.19.1/packages/BrianHicks/elm-string-graphemes/1.0.4/LICENSE +0 -11
  15. package/.elm/0.19.1/packages/BrianHicks/elm-string-graphemes/1.0.4/README.md +0 -172
  16. package/.elm/0.19.1/packages/BrianHicks/elm-string-graphemes/1.0.4/artifacts.dat +0 -0
  17. package/.elm/0.19.1/packages/BrianHicks/elm-string-graphemes/1.0.4/docs.json +0 -1
  18. package/.elm/0.19.1/packages/NoRedInk/elm-json-decode-pipeline/1.0.1/LICENSE +0 -27
  19. package/.elm/0.19.1/packages/NoRedInk/elm-json-decode-pipeline/1.0.1/README.md +0 -107
  20. package/.elm/0.19.1/packages/NoRedInk/elm-json-decode-pipeline/1.0.1/artifacts.dat +0 -0
  21. package/.elm/0.19.1/packages/NoRedInk/elm-json-decode-pipeline/1.0.1/docs.json +0 -1
  22. package/.elm/0.19.1/packages/andre-dietrich/elm-conditional/1.0.0/LICENSE +0 -29
  23. package/.elm/0.19.1/packages/andre-dietrich/elm-conditional/1.0.0/README.md +0 -51
  24. package/.elm/0.19.1/packages/andre-dietrich/elm-conditional/1.0.0/artifacts.dat +0 -0
  25. package/.elm/0.19.1/packages/andre-dietrich/elm-conditional/1.0.0/docs.json +0 -1
  26. package/.elm/0.19.1/packages/andre-dietrich/elm-random-regex/1.0.9/LICENSE +0 -21
  27. package/.elm/0.19.1/packages/andre-dietrich/elm-random-regex/1.0.9/README.md +0 -313
  28. package/.elm/0.19.1/packages/andre-dietrich/elm-random-regex/1.0.9/artifacts.dat +0 -0
  29. package/.elm/0.19.1/packages/andre-dietrich/elm-random-regex/1.0.9/docs.json +0 -1
  30. package/.elm/0.19.1/packages/andre-dietrich/elm-svgbob/5.0.2/LICENSE +0 -202
  31. package/.elm/0.19.1/packages/andre-dietrich/elm-svgbob/5.0.2/README.md +0 -820
  32. package/.elm/0.19.1/packages/andre-dietrich/elm-svgbob/5.0.2/artifacts.dat +0 -0
  33. package/.elm/0.19.1/packages/andre-dietrich/elm-svgbob/5.0.2/docs.json +0 -1
  34. package/.elm/0.19.1/packages/andre-dietrich/parser-combinators/4.1.0/LICENSE +0 -24
  35. package/.elm/0.19.1/packages/andre-dietrich/parser-combinators/4.1.0/README.md +0 -7
  36. package/.elm/0.19.1/packages/andre-dietrich/parser-combinators/4.1.0/artifacts.dat +0 -0
  37. package/.elm/0.19.1/packages/andre-dietrich/parser-combinators/4.1.0/docs.json +0 -1
  38. package/.elm/0.19.1/packages/avh4/elm-color/1.0.0/LICENSE +0 -11
  39. package/.elm/0.19.1/packages/avh4/elm-color/1.0.0/README.md +0 -57
  40. package/.elm/0.19.1/packages/avh4/elm-color/1.0.0/artifacts.dat +0 -0
  41. package/.elm/0.19.1/packages/avh4/elm-color/1.0.0/docs.json +0 -1
  42. package/.elm/0.19.1/packages/danfishgold/base64-bytes/1.1.0/LICENSE +0 -11
  43. package/.elm/0.19.1/packages/danfishgold/base64-bytes/1.1.0/README.md +0 -58
  44. package/.elm/0.19.1/packages/danfishgold/base64-bytes/1.1.0/artifacts.dat +0 -0
  45. package/.elm/0.19.1/packages/danfishgold/base64-bytes/1.1.0/docs.json +0 -1
  46. package/.elm/0.19.1/packages/elm/browser/1.0.2/LICENSE +0 -11
  47. package/.elm/0.19.1/packages/elm/browser/1.0.2/README.md +0 -21
  48. package/.elm/0.19.1/packages/elm/browser/1.0.2/artifacts.dat +0 -0
  49. package/.elm/0.19.1/packages/elm/browser/1.0.2/docs.json +0 -1
  50. package/.elm/0.19.1/packages/elm/bytes/1.0.8/LICENSE +0 -30
  51. package/.elm/0.19.1/packages/elm/bytes/1.0.8/README.md +0 -56
  52. package/.elm/0.19.1/packages/elm/bytes/1.0.8/artifacts.dat +0 -0
  53. package/.elm/0.19.1/packages/elm/bytes/1.0.8/docs.json +0 -1
  54. package/.elm/0.19.1/packages/elm/core/1.0.5/LICENSE +0 -11
  55. package/.elm/0.19.1/packages/elm/core/1.0.5/README.md +0 -30
  56. package/.elm/0.19.1/packages/elm/core/1.0.5/artifacts.dat +0 -0
  57. package/.elm/0.19.1/packages/elm/core/1.0.5/docs.json +0 -1
  58. package/.elm/0.19.1/packages/elm/file/1.0.5/LICENSE +0 -30
  59. package/.elm/0.19.1/packages/elm/file/1.0.5/README.md +0 -127
  60. package/.elm/0.19.1/packages/elm/file/1.0.5/artifacts.dat +0 -0
  61. package/.elm/0.19.1/packages/elm/file/1.0.5/docs.json +0 -1
  62. package/.elm/0.19.1/packages/elm/html/1.0.0/LICENSE +0 -30
  63. package/.elm/0.19.1/packages/elm/html/1.0.0/README.md +0 -50
  64. package/.elm/0.19.1/packages/elm/html/1.0.0/artifacts.dat +0 -0
  65. package/.elm/0.19.1/packages/elm/html/1.0.0/docs.json +0 -1
  66. package/.elm/0.19.1/packages/elm/http/2.0.0/LICENSE +0 -30
  67. package/.elm/0.19.1/packages/elm/http/2.0.0/README.md +0 -36
  68. package/.elm/0.19.1/packages/elm/http/2.0.0/artifacts.dat +0 -0
  69. package/.elm/0.19.1/packages/elm/http/2.0.0/docs.json +0 -1
  70. package/.elm/0.19.1/packages/elm/json/1.1.3/LICENSE +0 -30
  71. package/.elm/0.19.1/packages/elm/json/1.1.3/README.md +0 -63
  72. package/.elm/0.19.1/packages/elm/json/1.1.3/artifacts.dat +0 -0
  73. package/.elm/0.19.1/packages/elm/json/1.1.3/docs.json +0 -1
  74. package/.elm/0.19.1/packages/elm/random/1.0.0/LICENSE +0 -30
  75. package/.elm/0.19.1/packages/elm/random/1.0.0/README.md +0 -46
  76. package/.elm/0.19.1/packages/elm/random/1.0.0/artifacts.dat +0 -0
  77. package/.elm/0.19.1/packages/elm/random/1.0.0/docs.json +0 -1
  78. package/.elm/0.19.1/packages/elm/regex/1.0.0/LICENSE +0 -30
  79. package/.elm/0.19.1/packages/elm/regex/1.0.0/README.md +0 -59
  80. package/.elm/0.19.1/packages/elm/regex/1.0.0/artifacts.dat +0 -0
  81. package/.elm/0.19.1/packages/elm/regex/1.0.0/docs.json +0 -1
  82. package/.elm/0.19.1/packages/elm/svg/1.0.1/LICENSE +0 -30
  83. package/.elm/0.19.1/packages/elm/svg/1.0.1/README.md +0 -62
  84. package/.elm/0.19.1/packages/elm/svg/1.0.1/artifacts.dat +0 -0
  85. package/.elm/0.19.1/packages/elm/svg/1.0.1/docs.json +0 -1
  86. package/.elm/0.19.1/packages/elm/time/1.0.0/LICENSE +0 -30
  87. package/.elm/0.19.1/packages/elm/time/1.0.0/README.md +0 -94
  88. package/.elm/0.19.1/packages/elm/time/1.0.0/artifacts.dat +0 -0
  89. package/.elm/0.19.1/packages/elm/time/1.0.0/docs.json +0 -1
  90. package/.elm/0.19.1/packages/elm/url/1.0.0/LICENSE +0 -27
  91. package/.elm/0.19.1/packages/elm/url/1.0.0/README.md +0 -32
  92. package/.elm/0.19.1/packages/elm/url/1.0.0/artifacts.dat +0 -0
  93. package/.elm/0.19.1/packages/elm/url/1.0.0/docs.json +0 -1
  94. package/.elm/0.19.1/packages/elm/virtual-dom/1.0.3/LICENSE +0 -30
  95. package/.elm/0.19.1/packages/elm/virtual-dom/1.0.3/README.md +0 -5
  96. package/.elm/0.19.1/packages/elm/virtual-dom/1.0.3/artifacts.dat +0 -0
  97. package/.elm/0.19.1/packages/elm/virtual-dom/1.0.3/docs.json +0 -1
  98. package/.elm/0.19.1/packages/elm-community/list-extra/8.7.0/LICENSE +0 -21
  99. package/.elm/0.19.1/packages/elm-community/list-extra/8.7.0/README.md +0 -19
  100. package/.elm/0.19.1/packages/elm-community/list-extra/8.7.0/artifacts.dat +0 -0
  101. package/.elm/0.19.1/packages/elm-community/list-extra/8.7.0/docs.json +0 -1
  102. package/.elm/0.19.1/packages/elm-community/random-extra/3.2.0/LICENSE +0 -29
  103. package/.elm/0.19.1/packages/elm-community/random-extra/3.2.0/README.md +0 -31
  104. package/.elm/0.19.1/packages/elm-community/random-extra/3.2.0/artifacts.dat +0 -0
  105. package/.elm/0.19.1/packages/elm-community/random-extra/3.2.0/docs.json +0 -1
  106. package/.elm/0.19.1/packages/f0i/statistics/2.0.0/LICENSE +0 -11
  107. package/.elm/0.19.1/packages/f0i/statistics/2.0.0/README.md +0 -73
  108. package/.elm/0.19.1/packages/f0i/statistics/2.0.0/artifacts.dat +0 -0
  109. package/.elm/0.19.1/packages/f0i/statistics/2.0.0/docs.json +0 -1
  110. package/.elm/0.19.1/packages/folkertdev/elm-flate/2.0.5/LICENSE +0 -373
  111. package/.elm/0.19.1/packages/folkertdev/elm-flate/2.0.5/README.md +0 -77
  112. package/.elm/0.19.1/packages/folkertdev/elm-flate/2.0.5/artifacts.dat +0 -0
  113. package/.elm/0.19.1/packages/folkertdev/elm-flate/2.0.5/docs.json +0 -1
  114. package/.elm/0.19.1/packages/justgook/elm-image/5.0.0/LICENSE +0 -9
  115. package/.elm/0.19.1/packages/justgook/elm-image/5.0.0/README.md +0 -112
  116. package/.elm/0.19.1/packages/justgook/elm-image/5.0.0/artifacts.dat +0 -0
  117. package/.elm/0.19.1/packages/justgook/elm-image/5.0.0/docs.json +0 -1
  118. package/.elm/0.19.1/packages/jxxcarlson/elm-pseudorandom/1.0.3/LICENSE +0 -11
  119. package/.elm/0.19.1/packages/jxxcarlson/elm-pseudorandom/1.0.3/README.md +0 -67
  120. package/.elm/0.19.1/packages/jxxcarlson/elm-pseudorandom/1.0.3/artifacts.dat +0 -0
  121. package/.elm/0.19.1/packages/jxxcarlson/elm-pseudorandom/1.0.3/docs.json +0 -1
  122. package/.elm/0.19.1/packages/lock +0 -0
  123. package/.elm/0.19.1/packages/pablohirafuji/elm-qrcode/4.0.2/LICENSE +0 -27
  124. package/.elm/0.19.1/packages/pablohirafuji/elm-qrcode/4.0.2/README.md +0 -32
  125. package/.elm/0.19.1/packages/pablohirafuji/elm-qrcode/4.0.2/artifacts.dat +0 -0
  126. package/.elm/0.19.1/packages/pablohirafuji/elm-qrcode/4.0.2/docs.json +0 -1
  127. package/.elm/0.19.1/packages/pilatch/flip/1.0.0/LICENSE +0 -25
  128. package/.elm/0.19.1/packages/pilatch/flip/1.0.0/README.md +0 -14
  129. package/.elm/0.19.1/packages/pilatch/flip/1.0.0/artifacts.dat +0 -0
  130. package/.elm/0.19.1/packages/pilatch/flip/1.0.0/docs.json +0 -1
  131. package/.elm/0.19.1/packages/registry.dat +0 -0
  132. package/.elm/0.19.1/packages/rtfeldman/elm-hex/1.0.0/LICENSE +0 -29
  133. package/.elm/0.19.1/packages/rtfeldman/elm-hex/1.0.0/README.md +0 -13
  134. package/.elm/0.19.1/packages/rtfeldman/elm-hex/1.0.0/artifacts.dat +0 -0
  135. package/.elm/0.19.1/packages/rtfeldman/elm-hex/1.0.0/docs.json +0 -1
  136. package/.elm/0.19.1/packages/tesk9/accessible-html/4.1.1/LICENSE +0 -27
  137. package/.elm/0.19.1/packages/tesk9/accessible-html/4.1.1/README.md +0 -72
  138. package/.elm/0.19.1/packages/tesk9/accessible-html/4.1.1/artifacts.dat +0 -0
  139. package/.elm/0.19.1/packages/tesk9/accessible-html/4.1.1/docs.json +0 -1
  140. package/.elm/0.19.1/packages/truqu/elm-base64/2.0.4/LICENSE +0 -22
  141. package/.elm/0.19.1/packages/truqu/elm-base64/2.0.4/README.md +0 -27
  142. package/.elm/0.19.1/packages/truqu/elm-base64/2.0.4/artifacts.dat +0 -0
  143. package/.elm/0.19.1/packages/truqu/elm-base64/2.0.4/docs.json +0 -1
  144. package/.elm/0.19.1/packages/truqu/elm-md5/1.1.0/LICENSE +0 -27
  145. package/.elm/0.19.1/packages/truqu/elm-md5/1.1.0/README.md +0 -34
  146. package/.elm/0.19.1/packages/truqu/elm-md5/1.1.0/artifacts.dat +0 -0
  147. package/.elm/0.19.1/packages/truqu/elm-md5/1.1.0/docs.json +0 -1
  148. package/.elm/0.19.1/packages/zwilias/elm-utf-tools/2.0.1/LICENSE +0 -29
  149. package/.elm/0.19.1/packages/zwilias/elm-utf-tools/2.0.1/README.md +0 -8
  150. package/.elm/0.19.1/packages/zwilias/elm-utf-tools/2.0.1/artifacts.dat +0 -0
  151. package/.elm/0.19.1/packages/zwilias/elm-utf-tools/2.0.1/docs.json +0 -1
  152. package/dist/index.00d41fd5.js +0 -1
  153. package/dist/index.20641f3f.js +0 -6
  154. package/dist/index.3c2f2396.js +0 -1
  155. package/dist/index.e35a85a4.js +0 -6
package/CHANGELOG.md ADDED
@@ -0,0 +1,1350 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
+
7
+ ## [0.15.12] - 28/09/2024
8
+
9
+ - chore: Update npm packages
10
+ - improve(Macro): Parameter with more than 3 backticks
11
+
12
+ The macro parameters formats had the following format
13
+
14
+ - `single,line,parameter,with,commas`
15
+ - ``` multiline `parameters` ```
16
+
17
+ The 3 backticks were hard-coded, hence it was not possible to pass markdown-blocks with code-blocks. Now it is possible to define multiline parameters with more than 3 backticks, allowing for more complex parameters. Basically it works like an ordinary code-block now, which can contain other code-blocks with less backticks.
18
+
19
+ ## [0.15.11] - 22/09/2024
20
+
21
+ - improve: Code-Terminal, which scrolls to the bottom on every new output
22
+ - feat: Add backslash followed by a newline in a paragraph, will result in a line-break
23
+ - fix: Single images with a block-comment were interpreted as a paragraph with a starting
24
+ image and thus resulted in a shorted image, with half of the size
25
+
26
+ ## [0.15.10] - 14/09/2024
27
+
28
+ - improve: Translations for code, now also translations for code copy-buttons
29
+ - improve: onload will block the execution of other scripts until it is finished
30
+
31
+ ## [0.15.9] - 12/08/2024
32
+
33
+ - feat: Add pitch and rate settings to TTS comments.
34
+
35
+ - The pitch can be set between 0 and 2, the rate between 0.1 and 5.
36
+
37
+ - Rate is also added to video and audio comments, while keeping the pitch constant.
38
+
39
+ - Additionally, the pitch and rate can be modified within the script for the current comment or replayed element as well
40
+
41
+ ```markdown
42
+ <!-- data-rate="2.0" data-pitch="1.2" -->
43
+ --{{0}}--
44
+ This element will be read with a higher pitch and rate.
45
+
46
+ <!-- data-rate="1.3" -->
47
+ --{{0}}--
48
+ !?[video](/path/to/video.mp4)
49
+ This video will be played with a higher rate, but the pitch will stay the same.
50
+
51
+ <!-- data-rate="2.0" data-pitch="1.2" -->
52
+ {{|>}}
53
+ Also for this local playback, the custom data rate and pitch will be used to overwrite the default settings
54
+ ```
55
+
56
+ ## [0.15.8] - 07/08/2024
57
+
58
+ - chore: Update npm packages
59
+ - improve(Classroom): connect event will also fire if connection is already established
60
+ - upgrade: oEmbed endpoints
61
+ - feat: enable styling for oEmbeds ... everything link that starts with ??
62
+ - fix: overlay video works on chrome mobile, better positioning on the right
63
+ - Add Citation.cff for simple citation of the project
64
+
65
+ ## [0.15.7] - 26/07/2024
66
+
67
+ - improve(VideoComments):
68
+
69
+ - Add accessibility features
70
+ - Add video-comments hide to settings, which will only replay the audio
71
+ - Improved z-index handling
72
+
73
+ ## [0.15.6] - 26/07/2024
74
+
75
+ - fix: SVG emoji sizing in ASCII-art images
76
+ - feat: Add video-comments. Video snippets can be added to comments, which will be replayed if the comment is read out loud.
77
+
78
+ ```markdown
79
+ --{{1}}--
80
+
81
+ !?[|>](video.mp4)
82
+ The upper video is replayed if this comment becomes active.
83
+ ```
84
+
85
+ ## [0.15.5] - 15/07/2024
86
+
87
+ - chore(Classroom): Upgrade Trystero to 0.19
88
+ - refac(Charts): optimized eCharts loading and added `renderer` option, which can be set to `svg` or `canvas`, svg is the default
89
+ - chore(elm): Optimized with elm-review
90
+ - fix: text-book switching
91
+ - improve(TTS): only if there is a comment or an audio-file, the playbutton is enabled
92
+
93
+ ## [0.15.4] - 03/07/2024
94
+
95
+ - chore: npm update katex, sass, echarts, ace-builds, caniuse-lite
96
+ - fix: z-index on copy-buttons
97
+ - fix: local script loading
98
+
99
+ ## [0.15.3] - 26/06/2024
100
+
101
+ - improve Editor: Codes have now a copy button...
102
+ - reduce scrollIntoView calls for better usage in embeddings
103
+ - improve Comments: a custom audio-file can be added to a comment, which will be played
104
+ when the comment is read out loud. Loading of audio can now also be done in editor modes ...
105
+ - fix: keyed audio tags
106
+
107
+ ## [0.15.1] - 14/06/2024
108
+
109
+ - hotfix: return error message correctly in worker script.
110
+
111
+ ## [0.15.0] - 14/06/2024
112
+
113
+ - feat: Add voice recordings to comments
114
+
115
+ ```markdown
116
+ --{{1 UK English Female}}--
117
+
118
+ ?[|>](recording.mp3)
119
+ If a comment starts with a audio-link or ends with one, then this file will be played
120
+ when the comment should be read out loud. This will automatically trigger a replay.
121
+ If the course is translated with Google, then the audio will be played in if and only if
122
+ the languages is not the main, that was translated into. Otherwise the browser-based TTS
123
+ will be used.
124
+ ```
125
+
126
+ - improve(Audio): Music can now be embedded with `?[alt](url)` from
127
+
128
+ - https://www.deezer.com
129
+ - https://open.spotify.com
130
+ - https://soundcloud.com/discover
131
+ - https://music.youtube.com
132
+
133
+ - improve: Add information about the where a course is stored to the index-view.
134
+ - fix: loading Translation files by using `@translation: ...` macro.
135
+ - fix: loading JavaScript from animations step, when mode switched to Textbook
136
+
137
+ ## [0.14.12] - 14/05/2024
138
+
139
+ - feat(YouTube): Embedding videos for YouTube will now always embed the no-cookie version
140
+ - fix: Add elements to allow embedding the editor again within the github.dev editor
141
+
142
+ ## [0.14.11] - 15/04/2024
143
+
144
+ - feat(Script): a `<script worker="true" ...` attribute can now be attached to script, which will
145
+ execute the script in a web-worker, if the browser supports it. This way, the main-thread
146
+ will not be blocked by the script and the user can still interact with the course.
147
+ - fix(Settings): Translations and information are now clickable again ...
148
+ - fix(Script): Not modifiable scripts are now correctly displayed without the background.
149
+ - feat: Add LiaScript-Library support, which can now be used to show courses within different websites, similar to [docsify](https://docsify.js.org).
150
+ - fix: Gap-Text can now also be created dynamically with JavaScript.
151
+
152
+ ## [0.14.10] - 04/03/2024)
153
+
154
+ - Script: Submit button waits for clicks, while button starts immediately
155
+
156
+ ## [0.14.8] - 29/02/2024
157
+
158
+ - hotfix: script allow for sending "LIA: stop"
159
+
160
+ ## [0.14.7] - 29/02/2024
161
+
162
+ - fix: script execution live-span
163
+ - improve: lia-charts can now evaluate code
164
+ - fix(Parser): Support for multiple hidden comments in sequence
165
+
166
+ ## [0.14.6] - 25/02/2024
167
+
168
+ - hotfix: ASCII art now draws again empty circles
169
+
170
+ ## [0.14.5] - 23/02/2024
171
+
172
+ - improve: ASCII-art images now with better emoji support and improved coloring and rendering
173
+ - update: oEmbed endpoints
174
+ - chore: update npm packages
175
+
176
+ ## [0.14.4] - 14/01/2024
177
+
178
+ - feat: add "mailto:" and "tel:" to allowed protocols, which can be used in links.
179
+ - hotfix: for testing webrtc connections
180
+ - improve: ASCII-Art now fully supports emojis ...
181
+
182
+ ## [0.14.3] - 03/01/2024
183
+
184
+ - improve: Add `data-show-partial-solution` to quizzes, which only have an effect
185
+ on compound quizzes, such as Matrix-Quizzes and Gap-Texts, to reveal (as the
186
+ name suggests) the partial solution of the quiz.
187
+ - improve: Gap-Texts can now also be integrated into ASCII-Art by putting them into
188
+ quotations "
189
+ - feat: The SCORM1.2 connector now can also be used in OPAL-LMS
190
+
191
+ ## [0.14.2] - 24/12/2023
192
+
193
+ - add italian translation
194
+
195
+ ## [0.14.1] - 21/12/2023
196
+
197
+ - chore: update caniuse, ace and y-js
198
+ - fix: add hits to ascii-art quizzes
199
+
200
+ ## [0.14.0] - 19/12/2023
201
+
202
+ - feat: New pub-sub system for classroom
203
+ - fix: DOM for SVG inputs
204
+ - hotfix: P2PT for google chrome
205
+
206
+ ## [0.12.12] - 22/11/2023
207
+
208
+ - fix: horizontal | parsing (also for tables)
209
+ - fix: enable backtick-escape in macro parameters
210
+ - fix: dropping last newline in macro-block parsing
211
+
212
+ ## [0.12.11] - 15/11/2023
213
+
214
+ - fix: recursive macro loading with not existing one
215
+
216
+ ## [0.12.10] - 15/11/2023
217
+
218
+ - fix: Multiline-macros with starting newlines work now
219
+ - upgrade: Ace, caniuse, sass, katex, workbox, yjs, ...
220
+
221
+ ## [0.12.9] - 14/11/2023
222
+
223
+ - fix: string escape in JavaScript executables
224
+ - changed icons
225
+ - improved index
226
+ - fix: onload macro precedence loading
227
+ - improve: SVG images can now be directly embedded into the Markdown
228
+ - improve: SCORM integration
229
+
230
+ ## [0.12.8] - 26/09/2023
231
+
232
+ - improve: Add "skip-navigation" link to tabulator order, which will only appear
233
+ in keyboard navigation
234
+
235
+ ## [0.12.7] - 22/09/2023
236
+
237
+ - feat: Add `@style` macro, which reduces the need for adding custom styles.
238
+ This macros will be loaded faster during the initialization phase than using
239
+ the `@link` method. In contrast to `@link` the `@style` will only be applied
240
+ onto the local course and will not be imported into others.
241
+
242
+ ## [0.12.6] - 21/09/2023
243
+
244
+ - fix: Npm build problems
245
+ - update Easy-Speech for browser-based TTS output
246
+
247
+ ## [0.12.5] - 21/09/2023
248
+
249
+ - chore: Npm update
250
+ - improve: Add WebRTC-checks for classroom connections
251
+ - update: oEmbed-list
252
+ - fix: Terminal storage for code (only last line was persistently stored)
253
+ - feat: Add P2PT to classroom connections
254
+ - improve: SCORM support
255
+ - improve: Enable Keyboard Accessibility for Ace-Editor
256
+ - fix: Last slide of course will be restored on reload
257
+
258
+ ## [0.12.4] - 11/07/2023
259
+
260
+ - fix: Loading external CSS on Chrome-based browsers
261
+ - improve: `icon: url` can now set per slide
262
+ - chore: Update npm packages (remove matrix-crdt)
263
+
264
+ ## [0.12.3] - 22/06/2023
265
+
266
+ - improve: @author: separated by ; will use the plural (Authors) in the general information field
267
+ - improve: Navigation through slides is now also possible with a presenter
268
+ - fix: Different handling of German and Deutsch voices, introduced by responsiveVoice
269
+ - fix: Script execution in order
270
+ - feat: Support for decoding courses from data-uris and gzipped data uris too
271
+ - feat: Loading of IPFS courses, the URL will change to a proxy if the IPFS protocol is not supported by the browser
272
+
273
+ ## [0.12.2] - 24/04/2023
274
+
275
+ - fix: Unicode detection in ascii-art
276
+
277
+ ## [0.12.1] - 24/04/2023
278
+
279
+ - feat: Add gap text quizzes and selections to inline-elements.
280
+ Tables, paragraph, galleries, etc. can now be turned into a quiz..
281
+
282
+ ```markdown
283
+ {{English Male |>}}
284
+
285
+ The film that I saw [[(that)|those|these|then]] night wasn’t very good.
286
+ It was all [[about]] a man [[who]] built a
287
+ time machine so he [[could]] travel back in time.
288
+ It took him ages and ages [[to]] build the machine.
289
+ ```
290
+
291
+ - fix: Preprocessing of singleton HTML-tags does not chomp content anymore
292
+ - improve: ASCII-art can now cope with complex and compound emojis.
293
+ - fix: URL parsing will stop on \"
294
+
295
+ ## [0.11.1] - 10/04/2023
296
+
297
+ - multiple CSS fixes and optimizations
298
+ - improve: docs
299
+ - chat:
300
+
301
+ - improve: shake animation and improved accessibility
302
+ - feat: Add gunDB persistent storage
303
+ - fix: Jitsi-backend works again
304
+ - improve: Error messages
305
+ - Add SCROM 1.2 export for moodle
306
+
307
+ ## [0.11.0] - 29/03/2023
308
+
309
+ - **Add chat to classroom, which parses LiaScript-Code live**
310
+ - refactor: Internal classroom data-structures
311
+ - fix: multiple tiny errors in classroom Synchronization
312
+ - ShortCut: Ctrl-Enter or Command-Enter can now be used to execute code or send a chat message
313
+ - fix: Probability distribution visualization for surveys
314
+ - update localization
315
+ - improve: Menu options get closed when they loose their focus
316
+ - feat: Add macros to formulas
317
+
318
+ Macros to formulas can no be defined globally with the formula macro
319
+
320
+ ```markdown
321
+ <!--
322
+ formula: Theta \mathrm{\zeta}(#1)
323
+ formula: \beta \Theta{B}
324
+ -->
325
+ ```
326
+
327
+ These macros are then passed to every formula. If formulas are defined
328
+ with `\def` or `\gdef`, etc. within a formula, then only these macros are
329
+ used an no external ones are passed.
330
+
331
+ Additionally, formulas from other imports are imported and used as well.
332
+ This way it is possible to include reusable formula collections.
333
+
334
+ ## [0.10.34] - 27/03/2023
335
+
336
+ - feat: Add macros to formula
337
+
338
+ Macros to formulas can no be defined globally with the formula macro
339
+
340
+ ```markdown
341
+ <!--
342
+ formula: Theta \mathrm{\zeta}(#1)
343
+ formula: \beta \Theta{B}
344
+ -->
345
+ ```
346
+
347
+ These macros are then passed to every formula. If formulas are defined
348
+ with \def or \gdef, etc. within a formula, then only these macros are
349
+ used an no external ones are passed.
350
+
351
+ Additionally, formulas from other imports are imported and used as well.
352
+ This way it is possible to include reusable formula collections.
353
+
354
+ - improve: Menus get closed if they or one of their children loose their focus
355
+ - fix: classroom, single user is displayed after successful creation
356
+ - fix(CSS): too small textbook widths
357
+
358
+ ## [0.10.33] - 22/03/2023
359
+
360
+ - improve: Style, textbook mode is now centered and spaced optimal
361
+ - fix: Code terminal overwriting of `console.log` outputs
362
+ - fix: Classroom merging conflicts of nested maps were fixed by using key-value-stores
363
+ - fix: Multiple paints of diagrams
364
+ - fix: Quiz `max-trials` triggered to fast
365
+
366
+ ## [0.10.32] - 14/03/2023
367
+
368
+ - improve: Better an fine granular handling of synchronous data structures.
369
+ - fix: Cursor jumping in collaborative edit mode
370
+ - feat: Show moving cursors and selections within the editor of foreign users in classroom mode.
371
+ - improve: Styled terminals now have a highlighted resize-handler.
372
+ - fix: Edrys can now also be used as a backend for classrooms.
373
+
374
+ ## [0.10.31] - 02/03/2023
375
+
376
+ - improve(Webcomponents): Web components to not have to be wrapped into `<lia-keep>` tags to preserve their inner structure.
377
+ The body of a Webcomponent is not parsed by the internal LiaScript parser and directly passed to the component.
378
+ - feat(Quiz): `data-hint-button` can now also be defined to show the hint button after a certain amount of wrong trials.
379
+ - improve(SCORM-Connector):
380
+
381
+ - Works now with the [SCORM-Cloud](https://app.cloud.scorm.com) by checking the compatibility setting:
382
+
383
+ "Wrap SCO Window with API"
384
+
385
+ - User settings (color, font-size, etc.) are preserved within the SCORM LMS
386
+
387
+ - feat(Settings): The global `window.LIA.settings` option can now be used to interactively change the user-settings from JavaScript.
388
+
389
+ ## [0.10.30] - 21/02/2023
390
+
391
+ - add more quiz options:
392
+
393
+ - `data-max-trials`: An integer value before the quiz is automatically solved
394
+ - `data-solution-button`: can be used with a boolean value to hide this button entirely,
395
+ or by adding an integer value the trial-number can be defined at which this button is show.
396
+ "0" means it is immediately visible, "1" only after the first trial
397
+ - `data-score`: This can be used together with the scorm export, to increase or decrease the
398
+ score of a quiz. This value takes a float value and by default it is set to "1".
399
+
400
+ ## [0.10.29] - 16/02/2023
401
+
402
+ - Internationalization: added new languages (portuguese, amharic, swahili, panjabi, hindi, japanese)
403
+ - Removed Matrix classroom due to size
404
+ - chore: added additional minification step
405
+
406
+ ## [0.10.28] - 14/02/2023
407
+
408
+ - refact(Sync): Add code splitting for faster loading
409
+ - chore: Npm upgrade of ace, caniuse, sass
410
+ - chore: Add bundle analyzer for inspecting code-size
411
+
412
+ ## [0.10.27] - 14/02/2023
413
+
414
+ - feat: New classroom that allows synchronizing quizzes, surveys, and editable code based on Y-js
415
+ - fix: Service worker required a reload on updates, no should be fixed
416
+ - feat: Quiz with randomize option for vector and matrix quizzes applied to shuffle rows:
417
+
418
+ ```markdown
419
+ <!-- data-randomize -->
420
+
421
+ - [[X]] option 1
422
+ - [[]] option 2
423
+ - [[]] option 3
424
+ ```
425
+
426
+ - feat: Clickable QR-Code at the share options displays a larger image
427
+ - fix: Buggy handling of escape sequences for backticks in macros.
428
+ - chore: Npm update echarts, ace-builds, typescript.
429
+ - lang: Add french translation and friendly error message if quiz solution was not correct yet.
430
+
431
+ ## [0.10.26] - 16/01/2023
432
+
433
+ - improve: The content of web-components is not parsed anymore by the LiaScript parser, which in most
434
+ cases will not require a `<lia-keep>` to handle the body appropriately.
435
+ - fix: The default GunDB server has been updated to a working one, since some of the servers, hosted
436
+ on heroku, do not run anymore.
437
+ - improve: oEmbed - provider list is updated and the service discovery now checks also the resource
438
+ website for oEmbed information.
439
+ - fix: Easy-Speech now works also on KaiOS and the LiaScript interpreter will not crash anymore on
440
+ feature-Phones, based on text-to-speech output.
441
+ - fix: Bug on Terminal resize, which required to shrink the terminal before its height could be increased.
442
+ - improve: Loading of some JSON values and all view functions are now tail-recursive.
443
+ - fix: import of relative resources now works also on GitHub.
444
+
445
+ ## [0.10.25] - 05/12/2022
446
+
447
+ - improve: nested loading of macros, scripts can now load complex script-macro combinations
448
+ - improve: font loading
449
+ - fix: loading relative sources (js, css) now as blob files
450
+
451
+ ## [0.10.24] - 28/11/2022
452
+
453
+ - Upgraded oEmbed endpoints
454
+ - Updated language modes for ace-editor
455
+
456
+ ## [0.10.23] - 28/11/2022
457
+
458
+ - Improve (TTS):
459
+
460
+ - Responsive-Voice is now used as a fallback, if the browser does not have TTS support,
461
+ otherwise the browser TTS gets preferred. The user can still change the preference.
462
+
463
+ - It is now also allowed to define only the preferred language without being explicit about the gender.
464
+ LiaScript will select an existing voice.
465
+
466
+ ```markdown
467
+ --{{1 English}}--
468
+
469
+ The first english voice will be selected for this comment.
470
+ ```
471
+
472
+ - Fixes: Minor fixes in TTS translations.
473
+
474
+ - Improve Tooltips: Wikipedia like link previews do now interpret also relative urls correctly.
475
+
476
+ - Improve Code-Parser: Code-blocks can now also be added via macros to projects.
477
+
478
+ - improve HTML:
479
+
480
+ - Add styling for `kdb` keyboard tags.
481
+ - Add simple svg-parsing
482
+ - Add : to allowed chars for HTML-parameters, this enables RDFa annotations
483
+
484
+ - chore: Upgrade of parcel, sass, caniuse, typescript, ace-builds, echarts
485
+
486
+ - Minor improvements and refactoring ...
487
+
488
+ ## [0.10.22] - 14/10/2022
489
+
490
+ - fix: browser caching for editor
491
+ - fix: quizzes, surveys, and tasks can now be listed wit \*, \-, \+
492
+ - optimizations for table/diagram encoding
493
+ - improved navigation for empty resources (can now be used in editors and web-components)
494
+
495
+ ## [0.10.21] - 09/09/2022
496
+
497
+ - fix: Corrected shortcode for Swahili
498
+ - improve: Parsing of main comment is not ignored, if it does not start on the
499
+ first line.
500
+
501
+ ## [0.10.20] - 30/08/2022
502
+
503
+ - add `window.parent.liaReady` as an alternative callback to an parent frame, which
504
+ can be used if `onload` for an `<iframe>` fails or is not triggered
505
+
506
+ ## [0.10.19] - 24/08/2022
507
+
508
+ - minor fixes in the window.LIA interface
509
+ - add blob - URLS to allowed types
510
+
511
+ ## [0.10.18] - 18/07/2022
512
+
513
+ - improved Sync:
514
+
515
+ - Supported backends for syncing courses can now also be used in systems
516
+ that do not support it by default. All sync-systems are now supported in
517
+ all cases, it might be simply disabled ...
518
+
519
+ To enable, you can use the macro:
520
+
521
+ `classroom: enable`
522
+
523
+ - Add 'literal' "room-names"
524
+
525
+ Currently a room-name and a course-URL are used to generate a unique ID
526
+ for a room. However, the user has now also the possibility to define a
527
+ room-name within " or '. In this case only the room-name is used as the
528
+ ID.
529
+
530
+ - fix(Styling): Sync now below the quiz/survey
531
+
532
+ ## [0.10.17] - 29/06/2022
533
+
534
+ - improved charts:
535
+
536
+ - fix: failing first load of geoJson data
537
+ - refactor: internal charting
538
+ - feat: Add axis-limit definitions
539
+
540
+ ```markdown
541
+ <!-- data-xlim="0,5" data-ylim=",20.0">
542
+ | x | y |
543
+ |---|---|
544
+ | 1 | 2 |
545
+ | 3 | 4 |
546
+ ```
547
+
548
+ ## [0.10.16] - 28/06/2022
549
+
550
+ - improved surveys:
551
+
552
+ - fixed quantitative representation for small sets
553
+ - add tooltips to quantitative outputs
554
+ - relaxed rules for ids ...
555
+
556
+ ```markdown
557
+ Would yo please rate it?
558
+
559
+ [(5 ⭐)] ⭐ ⭐ ⭐ ⭐ ⭐
560
+ [(4 ⭐)] ⭐ ⭐ ⭐ ⭐
561
+ [(3 ⭐)] ⭐ ⭐ ⭐
562
+ [(2 ⭐)] ⭐ ⭐
563
+ [(1 ⭐)] ⭐
564
+ ```
565
+
566
+ ## [0.10.15] - 27/06/2022
567
+
568
+ - feat: Add `font` macro to import external fonts such as egyptian hieroglyphs
569
+ or cuneiform:
570
+
571
+ ```markdown
572
+ <!--
573
+ author: ...
574
+ link: https://fonts.googleapis.com/css2?family=Noto+Sans+Egyptian+Hieroglyphs&display=swap
575
+ font: Noto Sans Egyptian Hieroglyphs, ...
576
+ -->
577
+
578
+ # Course
579
+
580
+ > Some hieroglyphs: **𓈖𓆓 𓊽𓉐𓉐 𓈖𓏲𓇯𓂝𓏴𓃾 𓉐𓃾𓂝𓃻𓁶𓃾 𓌓𓁶𓌓𓆓𓂝𓃾 𓌅𓂧𓌅𓀠 𓀠𓇯𓈖**
581
+ ```
582
+
583
+ - chore: Update parcel, ace, sass, caniuse, ...
584
+
585
+ ## [0.10.14] - 18/06/2022
586
+
587
+ - fix: Preprocessing parsing with > and < in title
588
+ - chore: Update parcel, ace-editor, sass, and typescript
589
+ - improve: internationalization of embedded YouTube controls
590
+ - fix: index-view on small screens once cut off the main title
591
+ - improve: Quiz, Survey, and Task defintion, which is now closer to GitHub, spaces
592
+ are allowed but not mandatory (`- [X]` vs. `-[X]`)
593
+ - improve: add < and > to escape characters
594
+
595
+ ## [0.10.12] - 02/06/2022
596
+
597
+ - fix: Bug in heatmap-representation of tables ...
598
+
599
+ ## [0.10.11] - 30/05/2022
600
+
601
+ - improve: DOM - handling
602
+
603
+ DOM can now be set to `persistent: on` within the main-header-comment. This way
604
+ no DOM-elements of other slides will be deleted anymore, they will only set to
605
+ `hidden`. This way other systems, that need to manipulate the DOM, can now safely
606
+ interact with LiaScript.
607
+
608
+ But, when dealing with a lot of iframes, movies, simulations, etc. It is still
609
+ wise to use the `persistent: off` mode. This way, videos and sound are closed,
610
+ when switching the slide, otherwise they will still remain active, but hidden.
611
+
612
+ However, by default the persistency of slides is disabled, it has to be enabled
613
+ globally, but is can also be redefined per slide:
614
+
615
+ ```markdown
616
+ <!--
617
+ persistent: on
618
+ -->
619
+
620
+ # Title
621
+
622
+ ...
623
+
624
+ ## Sub-Section
625
+
626
+ <!--
627
+ persistent: off
628
+ -->
629
+
630
+ ## Sub-Section 2
631
+
632
+ <!--
633
+ persistent: true
634
+ -->
635
+
636
+ Switching on is not required, if it is globally activated.
637
+ ```
638
+
639
+ ## [0.10.10] - 24/05/2022
640
+
641
+ - fix: ASCII-Art now works with embedded LiaScript-animations
642
+ - improve: Text-to-Speech output for translations with initial delay
643
+ - fix: some simple elements will not be translated anymore by google
644
+ - fix: Ukrainian translation shortcode
645
+ - update oEmbed services
646
+ - package updates including (ace-editor, caniuse, typescript)
647
+
648
+ ## [0.10.9] - 09/05/2022
649
+
650
+ - keyed tables with improved performance for sorting large datasets (larger than 1000 samples)
651
+ - fix: table icons for sorting now also visible in scripts
652
+ - feat: HTML-comments can now also be used to hide content
653
+ - updated oEmbed and improved responsiveness of external embeds and iframes
654
+ - fix: offline content loading from indexedDB
655
+
656
+ ## [0.10.8] - 10/04/2022
657
+
658
+ - improve: internal Links
659
+
660
+ - integrated URL-percent-encoding to support for example parenthesis
661
+ - fix: target \_blank removed for internal links
662
+
663
+ ## [0.10.7] - 07/04/2022
664
+
665
+ - improve: LiaScript now runs also on Feature-Phones such as Nokia with
666
+ [KaiOS](https://www.kaiostech.com) 2.5 ... CSS has been updated, web components,
667
+ the editor, eCharts, and classroom functionality can be used.
668
+
669
+ ## [0.10.6] - 28/03/2022
670
+
671
+ - feat: **Synchronization via [Edrys](https://github.com/edrys-org/edrys)**
672
+
673
+ If a course is loaded from within Edrys via the module:
674
+
675
+ https://github.com/edrys-org/module-liascript
676
+
677
+ States will be automatically synced within a room between all members.
678
+
679
+ ## [0.10.5] - 23/03/2022
680
+
681
+ - Add two helpers:
682
+
683
+ - `LIA.focusOnMain`: Prevent LiaScript from stealing the focus, when a slide
684
+ gets loaded.
685
+ - `LIA.scrollUpOnMain`: Prevent scrolling to top when a slide is loaded.
686
+
687
+ ## [0.10.4] - 23/03/2022
688
+
689
+ - undo: Update of npm packages, which caused build problems in css
690
+
691
+ ## [0.10.3] - 23/03/2022
692
+
693
+ - chore: Update npm packages
694
+ - fix: Modal images work in editor again
695
+
696
+ ## [0.10.2] - 08/03/2022
697
+
698
+ - improve: Survey with automated quantity or category detection
699
+ - improve: TTS now adds lang ("en") to text output. This is especially useful
700
+ when other services than responsiveVoice are used.
701
+ - fix: Google-translate and others use `https://` instead of `//` only.
702
+ - Add icon resources
703
+
704
+ ## [0.10.1] - 25/02/2022
705
+
706
+ - Build optimizations
707
+ - improve: Security by allowing only LiaScript to access indexedDB
708
+ - feat: Add functions `LIA.gotoNext` and `LIA.gotoPrevious` for improving
709
+ navigation with external libraries
710
+ - improve: Unordered list now match the GitHub flavoured style
711
+
712
+ ## [0.10.0] - 17/02/2022
713
+
714
+ - Add Classroom functionality within the share section, currently supported are
715
+
716
+ - [BeakerBrowser](https://beakerbrowser.com)
717
+ - [PubNub](https://www.pubnub.com)
718
+ - [GunDB](https://gun.eco)
719
+
720
+ This will at the moment synchronize quizzes and survey, and provide an overview
721
+ on the results/inputs to all connected users. All data is only stored/synchronized
722
+ between the users not at the backend. And when a user leaves the room, her or she
723
+ takes the data with them, which will result in an update overview.
724
+
725
+ - Complete rebuild of the internal messaging pipeline to a service architecture.
726
+ - Better API, all functionality is now accessible from within a global `window.LIA`
727
+ object.
728
+ - A set of new macros, which can be used to disable setting components:
729
+
730
+ - `@classroom: disable`
731
+ - `@sharing: false`
732
+ - `@translateWithGoogle: off`
733
+
734
+ You can use words like `false`, `disabled`, `0`, `OFF` ... LiaScript will recognize
735
+ them as negative. All other words like `wouldLoveToSeeThisFeature` are treated
736
+ as positive. **But better stick with `false/true`, `on/of`, `disable/enable`**
737
+
738
+ - Improved CSS for printing. This allows to generate beautiful content of a slide,
739
+ with preserved links, if media or iframes are added.
740
+
741
+ ## [0.9.51] - 26/01/2022
742
+
743
+ - improve: Tooltip positioning
744
+
745
+ ## [0.9.50] - 25/01/2022
746
+
747
+ - fix: Tooltip
748
+
749
+ - tabbing on touch devices works by long press
750
+ - tooltips is deactivated on small screens
751
+ - improved performance on parsing & links are preserved and clickable too
752
+
753
+ ## [0.9.49] - 24/01/2022
754
+
755
+ - feature: Add tooltips to links, which work by hovering or by putting the
756
+ focus onto a link. This feature has to be activated within the settings,
757
+ since it creates additional http traffic. Currently supported types of
758
+ links:
759
+
760
+ - Links to LiaScript courses, which have to contain the URL of the
761
+ Markdown file
762
+ - Links to services that support oEmbend
763
+ - Other sites with meta information as OpenGraph, TwitterCards, otherwise
764
+ the first image, header, and paragraphs are grabbed to create the tooltip
765
+
766
+ ## [0.9.47] - 14/01/2022
767
+
768
+ - improve: Video resources via Multimedia links
769
+
770
+ - Add support for the TU Bergakademie Freiberg video platform
771
+
772
+ https://video.tu-freiberg.de
773
+
774
+ Links like for YouTube can simply be copied into the URL part of a link and
775
+ it will be automatically inserted as an responsive video:
776
+
777
+ `!?[video](https://video.tu-freiberg.de/video/Zahlensysteme/e54f8df0ac5d94701b277f9bc63863f6)`
778
+
779
+ - fix: Videos on subsequent sites with an equal structure have not been
780
+ updated properly
781
+
782
+ ## [0.9.46] - 09/01/2022
783
+
784
+ - improve: Repository information
785
+
786
+ - only visible for resources from GitHub, GitLab, DropBox
787
+ - additional `@repository: url` macro-def, which overwrites the definitions
788
+ from above and is also visible for exports
789
+
790
+ ## [0.9.45] - 06/01/2022
791
+
792
+ - improve(Links): Links to external sites do now contain a `target="_blank"` by
793
+ default. Thus, clicks open a new tab instead of destroying the current state
794
+ of the window.
795
+
796
+ ## [0.9.44] - 06/01/2022
797
+
798
+ - fix(patches): `make all` now runs all patches including the virtual-dom patch
799
+ - improve: ResponsiveVoice information is only visible if and only if text to
800
+ speech is activated and used
801
+ - improve: A repository link is added to the information section, which points
802
+ to the github, gitlab, or dropbox-repository. Others are about to come...
803
+
804
+ ## [0.9.43] - 14/12/2021
805
+
806
+ - improve: Reference macros can now also have an optional title field, which
807
+ will be ignored during the injection. However, this might be useful for
808
+ adding information about the content of the data:
809
+
810
+ ```markdown
811
+ @[Macro.Name](URL 'some more information')
812
+ ```
813
+
814
+ ## [0.9.42] - 12/12/2021
815
+
816
+ - fix: Indentation for bigger macro-blocks are now injected appropriately
817
+
818
+ ## [0.9.41] - 07/12/2021
819
+
820
+ - use elm-optimize-level-2 for compilation
821
+ - fix: google voice translations
822
+ - update via npm
823
+ - improved icon support
824
+ - reference macro
825
+ - updated oEmbed endpoints
826
+
827
+ ## [0.9.40] - 21/10/2021
828
+
829
+ - improved quiz:
830
+
831
+ - accessibility with block-question
832
+ - quizzes can have starting dashes
833
+ - fixes for generic quizzes
834
+
835
+ ## [0.9.39] - 04/10/2021
836
+
837
+ - improve: Attached scripts are now executed only if a change was triggered by the
838
+ user and their default value gets loaded. The default or initial state for quizzes
839
+ and surveys is undefined, for tasks it is defined by the initial state.
840
+ - improve: Add `send.clear` command to scripts
841
+
842
+ ## [0.9.37] - 01/10/2021
843
+
844
+ - hotfix: modal script-editor now prohibits translations
845
+
846
+ ## [0.9.36] - 01/10/2021
847
+
848
+ - Attached scripts can now also publish their results
849
+ - Updated korean translations
850
+ - Export to (nearly) full Json, which can be used later as the basis to translate
851
+ documents into other formats
852
+
853
+ ## [0.9.35] - 26/09/2021
854
+
855
+ - chore: Npm update
856
+ - fix: footnote
857
+
858
+ - CSS table and background color
859
+ - styling of multimedia in modal
860
+ - inline footnote now with Markdown parser
861
+
862
+ ## [0.9.34] - 23/09/2021
863
+
864
+ - improve: footnote styling
865
+ - inline & block-playback are now also translatable via tts
866
+
867
+ ## [0.9.33] - 15/09/2021
868
+
869
+ - fix: CSS styling for Katex-formulas and displayMode
870
+ - Internal message-routing uses a fixed datatype (`Return`) for all modules
871
+
872
+ ## [0.9.32] - 06/09/2021
873
+
874
+ - Improved accessibility for quizzes
875
+ - Custom styling enabled for comments
876
+ - Improved relative link handling
877
+ - Updated translations
878
+ - fix: Minor CSS bugs and relative links in `href="#..."`
879
+
880
+ ## [0.9.31] - 30/08/2021
881
+
882
+ - Improved internationalization and CSS bug-fixes
883
+ - Script-tags can now also be evaluated with internal macro support
884
+ - Add share-button to main settings, which will only appear on devices which support
885
+ `navigation.share`
886
+
887
+ ## [0.9.30] - 27/08/2021
888
+
889
+ - Add korean translation `language: ko`
890
+ - Updated build to newer parcel.rc
891
+
892
+ ## [0.9.29] - 24/08/2021
893
+
894
+ - fix: Terminal-output now with whitespace pre behavior
895
+
896
+ ## [0.9.28] - 23/08/2021
897
+
898
+ - feat: Resizable terminal windows
899
+ - fix(CORS): Changed CORS-proxy to allorigins.win
900
+
901
+ ## [0.9.27] - 17/08/2021
902
+
903
+ - Sidebar in Slide-mode can now used to navigate through all effects
904
+ - Home-view has also a settings menu and cards are now presented according to the
905
+ common style
906
+ - Improved TTS for translations
907
+ - Minor bug-fixes
908
+
909
+ ## [0.9.24] - 30/07/2021
910
+
911
+ - Add arabic translation: `language: ar`
912
+ - Improved inline parsing speed.
913
+ - Add support for sharing courses on other protocols than `http://` and
914
+ `https://`.
915
+
916
+ - [`hyper:// & dat://`](https://en.wikipedia.org/wiki/Dat_%28software%29)
917
+
918
+ This allows to use the
919
+ [Beaker](https://en.wikipedia.org/wiki/Beaker_%28eb_browser%29) browser
920
+ for creating, sharing, and editing courses directly within the browser,
921
+ _no further upload required!_
922
+
923
+ - [`ipfs:// & ipns://`](https://en.wikipedia.org/wiki/InterPlanetary_File_System)
924
+
925
+ Since the newest version of the [Brave](https://brave.com) browser also has
926
+ support for the "InterPlanetary File-System".
927
+
928
+ [Blog-Post](https://brave.com/brave-integrates-ipfs)
929
+
930
+ - How is this achieved?
931
+
932
+ Actually by applying a patch to the original elm-url module, which can be
933
+ found here:
934
+
935
+ https://github.com/andre-dietrich/elm-patch
936
+
937
+ - Minor fixes in pre-processing, spelling , styling, and removed
938
+ line-highlighting for not interactive code-blocks
939
+
940
+ - Additional headers are allowed, if they are within lists or block-quotes,
941
+ etc.:
942
+
943
+ ```markdown
944
+ # Outer Header
945
+
946
+ > ## Inner Header
947
+ >
948
+ > which will not lead to a separate slide.
949
+ ```
950
+
951
+ ## [0.9.23] - 12/07/2021
952
+
953
+ - Updated code-snippet language support
954
+ (see [code-list](https://github.com/LiaScript/docs/blob/master/Code.md))
955
+ - Optimized loading time with lighthouse
956
+ - fix: icons in nested lists (3rd level)
957
+ - fix: silent hidden TTS
958
+ - refactor typescript
959
+
960
+ ## [0.9.21] - 22/06/2021
961
+
962
+ - optimized loading of oEmbed content, which deals with some CORS issues and adds
963
+ thumbnails to galleries
964
+ - fix: `-- citation` in editor mode
965
+ - minor CSS optimizations
966
+
967
+ ## [0.9.19] - 09/06/2021
968
+
969
+ - some optimizations with the help of elm-review
970
+ - fix: CSS width in gallery views
971
+
972
+ ## [0.9.18] - 28/05/2021
973
+
974
+ - feature: audio elements are now also usable within a gallery
975
+ - improve: background color added to gallery-cards
976
+ - fix: Video now visible in modal again
977
+
978
+ ## [0.9.17] - 26/05/2021
979
+
980
+ - feature: Oembed support via the extended link notation `??[alt](url "maybe title")`,
981
+ additionally these embeds can be used in galleries as well.
982
+ - fix(ASCII-art): wrong concatenation of multi verbatim elements in single-line
983
+
984
+ ## [0.9.16] - 17/05/2021
985
+
986
+ - hotfix: Google finds always ways to trick me, this time it was with
987
+ translating of long paragraphs, which worked sometimes. Now sentences
988
+ are presented single paragraphs, this seems to do the trick...
989
+
990
+ ## [0.9.15] - 17/05/2021
991
+
992
+ - improved TTS output:
993
+
994
+ - Google-translate can now also deal with long paragraphs.
995
+ - better translation & delay (500ms) to support translated courses
996
+
997
+ ## [0.9.14] - 08/05/2021
998
+
999
+ - adds no translation indicators to verbatim elements
1000
+ - npm update
1001
+
1002
+ ## [0.9.12] - 04/05/2021
1003
+
1004
+ - hotfix: add back deleted main icon
1005
+
1006
+ ## [0.9.11] - 04/05/2021
1007
+
1008
+ - fix: falsy overwritten evaluation code-snippets
1009
+ - style(Cite): changed default font-style to normal
1010
+ - add missing icons to tables & improved parsing
1011
+ - improve ASCII-Art:
1012
+
1013
+ - better support of inline Code
1014
+ - enabled caseInsensitive detection of `AsCIi` or `Art`
1015
+ - additional header text can now be used to define figcaption
1016
+
1017
+ ## [0.9.10] - 27/04/2021
1018
+
1019
+ - all images can now be increased and zoomed, if their actual size is less than
1020
+ their native size
1021
+ - updated KaTex, echarts, workbox, typescript, ...
1022
+ - improve fig-caption
1023
+ - small CSS fixes with starting images in paragraphs
1024
+
1025
+ ## [0.9.9] - 26/04/2021
1026
+
1027
+ - add `console.stream` to handle stream events from remote services correctly
1028
+ - fix: minor CSS bugs in tables
1029
+
1030
+ ## [0.9.8] - 23/04/2021
1031
+
1032
+ - user friendly error messages, with the possibility to return to the index page.
1033
+ - new macro `@persistent: false`, which allows to mark a course, `true` is default
1034
+ and means it, should be stored, `false` is used to prohibit the storage within
1035
+ IndexedDB, or another connector
1036
+ - minor CSS bugfixes
1037
+
1038
+ ## [0.9.7] - 21/04/2021
1039
+
1040
+ - new feature, click on an image to see it as modal and scaled ...
1041
+ - removes bug with parsing quotation marks
1042
+ - improved modals & fixed inline script-code editing
1043
+
1044
+ ## [0.9.6] - 20/04/2021
1045
+
1046
+ - adds font-spacing
1047
+ - lazy loading for images, videos, and iframes
1048
+ - better parsing of weird list and quotation structures
1049
+ - many little bugfixes
1050
+
1051
+ ## [0.9.5] - 13/04/2021
1052
+
1053
+ - revert double single quotations for titles (caused bugs)
1054
+ - add error output to surveys and quizzes
1055
+ - fix: **Wired constructions of nested lists and quotes generate semantically correct HTML**
1056
+ - minor fixes in CSS for selection surveys and open modals stop keyboard navigation
1057
+
1058
+ ## [0.9.4] - 12/04/2021
1059
+
1060
+ - audio elements `?[audio](http...mp3)` can no be part of a gallery too
1061
+ - title in references now can be placed in single and double quotation marks
1062
+ - adds citation which is indicated by starting a paragraph with `--`
1063
+ - minor CSS fixes
1064
+
1065
+ ## [0.9.3] - 08/04/2021
1066
+
1067
+ - fix: Loading older version of courses
1068
+ - fix: Changed icons `+` & `-` in codes, to be equal to the LiaScript syntax
1069
+ - fix: Styling for share-buttons
1070
+ - fix: Intl formatting for different languages
1071
+ - fix: Styling search in dark-mode
1072
+ - fix: Background colors for script-tags
1073
+ - improve(Code): Terminal accessibility
1074
+
1075
+ ## [0.9.0] - 05/04/2021
1076
+
1077
+ - Total redesign of UI/UX
1078
+ - Adds support for Tasks
1079
+
1080
+ ```markdown
1081
+ - [x] some task solved
1082
+ - [ ] some task unsolved ...
1083
+ ```
1084
+
1085
+ - Support for galleries as collections of images and videos:
1086
+
1087
+ ```markdown
1088
+ ![some image](url1) ![some image](url2)
1089
+ !?[some video](url3)
1090
+ ![some image](url4)
1091
+ !?[some video](url5)
1092
+ ```
1093
+
1094
+ - Images and videos are now scaled automatically to fit the best size
1095
+ - Moved from JavaScript to Typescript
1096
+ - Optimized internal message-handling
1097
+ - Scripts can now also create Quizzes, Code, Surveys, etc.
1098
+ (scripts cannot create scripts)
1099
+ - Updated debug-information
1100
+ - Updated to eCharts 5
1101
+ - ASCII-art blocks now have a verbatim environment, that is surrounded by either
1102
+ single or double quotation marks:
1103
+
1104
+ `````markdown
1105
+ ````ascii
1106
+ +------------------------------------+
1107
+ |"$$ "| Single
1108
+ |" \sum_{i=1}^\infty\frac{1}{n^2} "| quote
1109
+ |" =\frac{\pi^2}{6} "| verbatim
1110
+ |"$$ "| block
1111
+ +------------------------------------+
1112
+ |
1113
+ V
1114
+ +------------------------------------+
1115
+ |""```js ""| Double quote
1116
+ |""let str = "Hello World! ""| verbatim block
1117
+ |""alert(str) ""| -
1118
+ |""``` ""| can contain
1119
+ |""<script>@input</script> ""| single quotes
1120
+ +------------------------------------+
1121
+ ````
1122
+ `````
1123
+
1124
+ ## [0.8.12] - 08/12/2020
1125
+
1126
+ - better handling of incorrect and incomplete HTML-comments
1127
+ - inline code does now preserve whitespaces
1128
+ - table-cells can now also be styled with a starting HTML comment
1129
+
1130
+ ## [0.8.11] - 05/12/2020
1131
+
1132
+ - parsing everything can be difficult, fixed issues with + and - that resulted
1133
+ from the last list updates.
1134
+ - footnotes are clickable again and with multiline support
1135
+
1136
+ ## [0.8.10] - 04/12/2020
1137
+
1138
+ - fixed issues with ordered and unordered lists, as well as quotes...
1139
+
1140
+ ## [0.8.9] - 02/12/2020
1141
+
1142
+ - better JavaScript & HTML & inline code parsing with string escapes
1143
+ - fix: problem with HTML and JavaScript within block-effects
1144
+ - removed `~~~` for now ...
1145
+ - fix: parsing block-html und loading order of js
1146
+
1147
+ ## [0.8.8] - 26/11/2020
1148
+
1149
+ - better script-tag parsing with comments and strings
1150
+ - scripts can now also produce LiaScript content via the result string:
1151
+
1152
+ ```html
1153
+ <script>
1154
+ ;`LIASCRIPT:
1155
+ $$
1156
+ \sum_{i=1}^\infty\frac{1}{n^2}
1157
+ =\frac{\pi^2}{6}
1158
+ $$
1159
+ `
1160
+ </script>
1161
+
1162
+ or:
1163
+
1164
+ <script>
1165
+ send.liascript(`
1166
+ $$
1167
+ \sum_{i=1}^\infty\frac{1}{n^2}
1168
+ =\frac{\pi^2}{6}
1169
+ $$
1170
+ `)
1171
+ </script>
1172
+ ```
1173
+
1174
+ - code-blocks can also be marked with `~~~`
1175
+ - fixes for qr-code background in dark mode and margin for figures with titles
1176
+
1177
+ ## [0.8.7] - 21/11/2020
1178
+
1179
+ - new funnel diagram type for tables
1180
+ - better support for line-plots and scatter-plot for categories
1181
+ - new link type for qr-codes: `[qr-code](url)`
1182
+ - better integration of script with further configurations
1183
+ - fix in script formatting
1184
+
1185
+ ## [0.8.6] - 18/11/2020
1186
+
1187
+ - updated ASCII-Art, which now now supports escaping via `"`
1188
+ - updates with eslint & npm update
1189
+
1190
+ ## [0.8.5] - 12/11/2020
1191
+
1192
+ - hotfix: internal macro-parameters work only form @0 ot @9
1193
+
1194
+ ## [0.8.4] - 10/11/2020
1195
+
1196
+ - attached scripts can now also use inputs from detached scripts
1197
+ - script inputs now react to onEnter events
1198
+ - fix: naming issue in web-components
1199
+ - macros can now have an infinite length of input parameters
1200
+
1201
+ ## [0.8.3] - 04/11/20202
1202
+
1203
+ - script format locale default is defined by global language default
1204
+ - fix: order of script execution corrected in textbook mode
1205
+ - fix: caching bug in Katex formulas
1206
+ - added funnel diagram to table visualization
1207
+ - optimized table diagram generation
1208
+ - double-click on script now uses an overlay editor
1209
+
1210
+ ## [0.8.2] - 01/11/2020
1211
+
1212
+ - little bugfixes, multiple inputs for scripts and internationalization for scripts outputs...
1213
+
1214
+ ## [0.8.1] - 27/10/2020
1215
+
1216
+ - Support for subHeaders via:
1217
+
1218
+ ```markdown
1219
+ # subHeader
1220
+
1221
+ ## sub-subHeader
1222
+ ```
1223
+
1224
+ ## [0.8.0] - 26/10/2020
1225
+
1226
+ - script-tags can now be used like web-components, which may return a value:
1227
+
1228
+ - with reactive programming
1229
+ - with attached input elements
1230
+ - formatting is also possible with Intl
1231
+
1232
+ - Terminal supports the output of HTML content via
1233
+ `console.html("<img src'= ...>")`
1234
+ - Terminal output gets truncated after 200 inputs and uses Html.Keyed.node
1235
+ for faster rendering
1236
+
1237
+ ## [0.7.12] - 07/10/2020
1238
+
1239
+ - removed Google-Analytics
1240
+ - upgrade KaTeX to 0.12.0
1241
+
1242
+ ## [0.7.11] - 06/10/2020
1243
+
1244
+ - Added a Makefile for better local development.
1245
+ - Use `make all KEY="your-key"` with your key for your website from
1246
+ https://responsivevoice.com
1247
+ - Use `make help` to get some help 😏
1248
+
1249
+ ## [0.7.10] - 06/10/2020
1250
+
1251
+ - better internal reference handling, which works now also with unicode-symbols
1252
+ - stable preprocessor, which handles single `#` more securely
1253
+ - multimedia captions `![alt](url "title")`, the title element can now contain
1254
+ Markdown content, which will be displayed as a caption; it works also for
1255
+ audio and video content
1256
+ - fix: floating bug with tables
1257
+
1258
+ ## [0.7.9] - 29/09/2020
1259
+
1260
+ - tables do not increase the size of the frame anymore
1261
+ - `[preview-lia](course-url)` depicts now a preview link for the LiaScript
1262
+ course in your course. The same can be achieved with the web component
1263
+ `<preview-lia src="course-url"></preview-lia>`
1264
+
1265
+ See section [Preview](#Preview) for more information.
1266
+
1267
+ ## [0.7.8] - 28/09/2020
1268
+
1269
+ - updated ascii-art generation, which now supports the usage of emojis, see the
1270
+ documentation at: https://github.com/andre-dietrich/elm-svgbob
1271
+
1272
+ ## [0.7.7] - 25/09/2020
1273
+
1274
+ - added laziness to Charts, Tables, and ASCII-art in order to increase speed
1275
+ - npm updates
1276
+ - added russian translation
1277
+
1278
+ ## [0.7.6] - 10/09/2020
1279
+
1280
+ - fix: typo in css for grey design
1281
+ - npm update
1282
+
1283
+ ## [0.7.5] - 10/07/2020
1284
+
1285
+ - fix: jumping on animations on mobile or if content too long ...
1286
+ - update ace editor to 1.4.12
1287
+ - updated elm-ui to 1.0.7
1288
+ - added special classes to quizzes to enable the usage of quiz-banks
1289
+
1290
+ ## [0.7.4] - 07/07/2020
1291
+
1292
+ - fix: some problems with arrow navigation, added `stopPropagationOn` for
1293
+ dealing with key-press events that should not interact with the navigation
1294
+ - fix: some css for cards, such as quizzes and surveys
1295
+
1296
+ ## [0.7.3] - 06/07/2020
1297
+
1298
+ - Editor settings via attributes: `data-theme`, `data-marker`, `data-`...
1299
+
1300
+ ## [0.7.2] - 26/06/2020
1301
+
1302
+ - fix: HTML elements with quoted strings that contain & are now accepted
1303
+
1304
+ ## [0.7.1] - 23/06/2020
1305
+
1306
+ - Added string escaping with an additional macro-notation `@'name`, which works
1307
+ also with `@'1` or `@'input` ...
1308
+ - New visualization type for tables `data-type="boxplot"`
1309
+ - More settings for table-diagrams, i.e. `data-title`, `data-xlabel`,
1310
+ `data-ylabel`
1311
+ - fix: Macro debugging caused some errors, due to new HTML handling, this was
1312
+ fixed, but the visualization is still not as expected...
1313
+
1314
+ ## [0.7.0] - 14/06/2020
1315
+
1316
+ - Tables are now smarter and can be used also in conjunction with animations
1317
+ - Supported tables are now (BarChart, ScatterPlot, LineChart, HeatMap, Map,
1318
+ Sankey, Graph (directed and undirected), Parallel, Radar, and PieChart)
1319
+ - Added special tags for table definitions: `data-type`, `data-src`,
1320
+ `data-transpose`, `data-show`
1321
+ - JavaScript execution is now delayed until all resources are loaded
1322
+ - Unified parsing of HTML attributes and comment attributes
1323
+ - HTML resources are now also checked if they are relative or not
1324
+ - fix: single HTML-comments can now also be detached from any Markdown body
1325
+
1326
+ ## [0.6.2] - 19/05/2020
1327
+
1328
+ - Added tag `<lia-keep>`: innerHTML is parsed without checking or parsing for
1329
+ Markdown
1330
+ - fix: HTML-parameters with `-` are now also allowed
1331
+ - fix: better search, with titles, and search-delete button
1332
+ - fix: some overflow CSS bugs for quotes and quizzes
1333
+ - App starts with closed table of contents on mobile devices
1334
+ - fix: navigation buttons are now all of equal size
1335
+ - fix: Title tab now shows the main title of the course
1336
+
1337
+ ## [0.6.1]
1338
+
1339
+ - Better error handling, faulty Markdown is now parsed until the end of a
1340
+ section
1341
+ - Minor optimizations to speedup JIT compilation.
1342
+
1343
+ ## [0.6.0]
1344
+
1345
+ - Started tagging with version numbers
1346
+ - Added language support for Spanish `es` and Taiwanese(`tw`)/Chinese(`zh`)
1347
+ - Refactored effects, which now also support `{{|>}}` or `{{|> Voice}}` for main
1348
+ manual text2speech output for blocks, as well as an inline notation
1349
+ `{|>}{_read me aloud_}` for inlining
1350
+ - Effect-fragments can be combined with with spoken output `{{|> 1-3}}`