diff --git a/docs/book/theme/css/markers.css b/docs/book/theme/css/markers.css index 67b74870b2c..44c4e92ebbf 100644 --- a/docs/book/theme/css/markers.css +++ b/docs/book/theme/css/markers.css @@ -15,13 +15,8 @@ margin-bottom: 0.25em; } -/* the marker name */ -.marker > dt.name::before { - content: '// +'; -} .marker > dt.name { font-weight: bold; - order: 0; /* hack around the ::before's positioning to get it after the line */ } /* the target blob */ diff --git a/docs/book/utils/markerdocs/main.go b/docs/book/utils/markerdocs/main.go index eb89aa10a23..afdd600cf3c 100644 --- a/docs/book/utils/markerdocs/main.go +++ b/docs/book/utils/markerdocs/main.go @@ -58,7 +58,7 @@ func markerTemplate(marker *MarkerDoc) toHTML { // the marker name term := dt(classes{"literal", "name"}, - Text(marker.Name)) + Text("// +"+marker.Name)) // the args summary (displayed in summary mode) var fields []toHTML