Is it possible to embed JavaScript code into articles? If yes, how? I was thinking about doing some animations to illustrate probability.
This does not seem possible (thankfully!). Have you considered using JsFiddle? It may be useful for your purposes:
http://andrewwooldridge.com/blog/2011/03/16/stunning-examples-of-using-jsfiddle/
I suppose you can’t embed JsFiddle here either, can you?
That seems unlikely. You would have to have links in your article.
Are they meant to be interactive? If not, a .gif or a youtube video would probably work.
Yes, I want interactivity.
Current theme: default
Less Wrong (text)
Less Wrong (link)
Arrow keys: Next/previous image
Escape or click: Hide zoomed image
Space bar: Reset image size & position
Scroll to zoom in/out
(When zoomed in, drag to pan; double-click to close)
Keys shown in yellow (e.g., ]) are accesskeys, and require a browser-specific modifier key (or keys).
]
Keys shown in grey (e.g., ?) do not require any modifier keys.
?
Esc
h
f
a
m
v
c
r
q
t
u
o
,
.
/
s
n
e
;
Enter
[
\
k
i
l
=
-
0
′
1
2
3
4
5
6
7
8
9
→
↓
←
↑
Space
x
z
`
g
Is it possible to embed JavaScript code into articles? If yes, how? I was thinking about doing some animations to illustrate probability.
This does not seem possible (thankfully!). Have you considered using JsFiddle? It may be useful for your purposes:
http://andrewwooldridge.com/blog/2011/03/16/stunning-examples-of-using-jsfiddle/
I suppose you can’t embed JsFiddle here either, can you?
That seems unlikely. You would have to have links in your article.
Are they meant to be interactive? If not, a .gif or a youtube video would probably work.
Yes, I want interactivity.