-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[needs docs] Can you style footnote text? #243
Comments
Yes yes you can (and I need to add docs for it all) ReferencesFor the reference basically a footnote is inserted as <sup id="fnref:1"><a href="/pub/menu1.html#fndef:1" class="fnref">[1]</a></sup> So you can style that with DefinitionsFor definitions, it's inserted as a table like: <table class="fndef" id="fndef:blah">
<tr>
<td class="fndef-backref"><a href="/pub/menu1.html#fnref:blah">[2]</a></td>
<td class="fndef-content">this is another footnote</td>
</tr>
</table> so you can style the back-reference via the .jd-content table.fndef {
margin: 0;
margin-bottom: 10px;}
.jd-content .fndef tr, td {
padding: 0;
border: 0;
text-align: left;}
.jd-content .fndef tr {
border-left: 2px solid lightgray;
}
.jd-content .fndef td.fndef-backref {
vertical-align: top;
font-size: 70%;
padding-left: 5px;}
.jd-content .fndef td.fndef-content {
font-size: 80%;
padding-left: 10px;} hope this helps! (I realise now that calling these things |
Thanks. This is just what I wanted to know! (My brain is just about coping with simultaneously using Literate, JuDoc, Markdown, and CSS, while upgrading Julia from 0.6/0.7 to 1.2. :)) |
oops, closed this too quickly, still needs docs |
now there's docs. |
I can’t work out how to CSS-style the text in a footnote...
The text was updated successfully, but these errors were encountered: