forked from realaravinth/libmedium
9 lines
306 B
HTML
9 lines
306 B
HTML
|
<. let gist_id = data.get_gist_id(&src); .>
|
||
|
<. let (_, gist)= gists.as_ref().unwrap().iter().find(|(id, _)| id == gist_id).as_ref().unwrap(); .>
|
||
|
<. for file in &gist.files {.>
|
||
|
<code> <.= file.get_html_content() .> </code>
|
||
|
<.}.>
|
||
|
<a href="<.= &gist.html_url .>" target="_blank"
|
||
|
>See gist on GitHub</a
|
||
|
>
|