exp
This commit is contained in:
1 parent
acd316cc7a
commit
0dc1740eba
1 file changed
+4
-4
+4
-4
@@ -114,7 +114,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 9,
|
||||
"execution_count": 3,
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
@@ -127,10 +127,10 @@
|
||||
{
|
||||
"data": {
|
||||
"text/html": [
|
||||
"<svg height=\"100\" width=\"100\"><circle cx=\"50\" cy=\"40\" fill=\"yellow\" r=\"40\"></circle></svg>"
|
||||
"<svg height=\"100\" width=\"100\" xmlns=\"http://www.w3.org/2000/svg\"><circle cx=\"50\" cy=\"40\" fill=\"yellow\" r=\"40\"></circle></svg>"
|
||||
]
|
||||
},
|
||||
"execution_count": 9,
|
||||
"execution_count": 3,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
@@ -142,7 +142,7 @@
|
||||
";; <circle cx=\"50\" cy=\"50\" r=\"40\" stroke=\"green\" stroke-width=\"4\" fill=\"yellow\" />\n",
|
||||
";; </svg>\n",
|
||||
"\n",
|
||||
"(let [html [:svg {:height 100 :width 100}\n",
|
||||
"(let [html [:svg {:height 100 :width 100 :xmlns \"http://www.w3.org/2000/svg\"}\n",
|
||||
" [:circle {:cx 50 :cy 40 :r 40 :fill \"yellow\"}]]]\n",
|
||||
" (-> html hiccup/html display/make-html))"
|
||||
]
|
||||
|
||||
Reference in new issue
Block a user