Vertically align source code callouts

Closes gh-58
This commit is contained in:
Brian Clozel 2020-11-02 21:36:26 +01:00
parent 14ef81938a
commit b9ac146f99
2 changed files with 5 additions and 3 deletions

View File

@ -1247,8 +1247,8 @@ td.hdlist1 {
}
.colist > table tr > td:first-of-type {
padding: 0 0.75em;
line-height: 1;
padding: 0.25em 0.75em;
vertical-align: text-top;
}
.colist > table tr > td:first-of-type img {

View File

@ -133,7 +133,7 @@ enclosing the text in pluses, then again in backticks.
case ACCEPTING_TRAFFIC: // <1>
// create file /tmp/healthy
break;
case REFUSING_TRAFFIC:
case REFUSING_TRAFFIC: // <2>
// remove file /tmp/healthy
break;
}
@ -142,6 +142,8 @@ enclosing the text in pluses, then again in backticks.
}
----
<1> A sample comment.
<2> A multiline comment with a lot of text. The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog.
[source,yaml,indent=0]
----