blob: fd4ea007821c061375e2e3ad1b67ef6269afb7de (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
<style type="text/css">
:target {
background-color: #ffa;
font-weight: bold;
}
ol > li > a {
display: none;
}
ol > li:hover > a {
display: inline-block;
color: gray;
}
</style>
<ol class="prose space-y-3 w-auto max-w-full list-outside list-decimal m-4 leading-loose">
<%= for {txt, id} <- Enum.with_index(@data) do %>
<li class="text-lg" id="q<%= id+1 %>">
<%= txt %>
<a href="#q<%= id+1 %>" class="text-xs text-gray-500 space-x-3">#</a>
</li>
<% end %>
</ol>
<p>
<a href="/-/txt/<%= @name %>.txt" class="text-xs text-gray-500">télécharger au format texte</a>
</p>
|