0.10.0 • Published 4 months ago

@strudel.cycles/embed v0.10.0

Weekly downloads
-
License
AGPL-3.0-or-later
Repository
github
Last release
4 months ago

@strudel.cycles/embed

DEPRECATION NOTE: This package is old and won't get any updates! The newer version goes by the name of @strudel/embed.

This package contains a embeddable web component for the Strudel REPL.

Usage

Either install with npm i @strudel.cycles/embed or just use a cdn to import the script:

<script src="https://unpkg.com/@strudel.cycles/embed@latest"></script>
<strudel-repl>
  <!--
note(`[[e5 [b4 c5] d5 [c5 b4]]
[a4 [a4 c5] e5 [d5 c5]]
[b4 [~ c5] d5 e5]
[c5 a4 a4 ~]
[[~ d5] [~ f5] a5 [g5 f5]]
[e5 [~ c5] e5 [d5 c5]]
[b4 [b4 c5] d5 e5]
[c5 a4 a4 ~]],
[[e2 e3]*4]
[[a2 a3]*4]
[[g#2 g#3]*2 [e2 e3]*2]
[a2 a3 a2 a3 a2 a3 b1 c2]
[[d2 d3]*4]
[[c2 c3]*4]
[[b1 b2]*2 [e2 e3]*2]
[[a1 a2]*4]`).slow(16)
      -->
</strudel-repl>

Note that the Code is placed inside HTML comments to prevent the browser from treating it as HTML.

0.10.0

4 months ago

0.2.0

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago