Skip to content

Commit aabd1cc

Browse files
lucperkinsjuliusv
authored andcommitted
Add admonition type to text content (#1089)
Signed-off-by: lucperkins <[email protected]>
1 parent 7081150 commit aabd1cc

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

content/docs/instrumenting/exposition_formats.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ exposition format. There's a variety of [client libraries](/docs/instrumenting/c
1010
that implement this format for you. If your preferred language doesn't have a client
1111
library you can [create your own](/docs/instrumenting/writing_clientlibs/).
1212

13-
NOTE: **NOTE** Some earlier versions of Prometheus supported an exposition format based on
13+
NOTE: Some earlier versions of Prometheus supported an exposition format based on
1414
[Protocol Buffers](https://developers.google.com/protocol-buffers/) (aka Protobuf) in
1515
addition to the current text-based format. As of version 2.0, however, Prometheus no
1616
longer supports the Protobuf-based format. You can read about the reasoning behind

lib/filters/admonition.rb

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ def run(content, params = {})
2828
def generate(kind, content)
2929
%[<div class="admonition-wrapper #{kind}">] +
3030
%[<div class="admonition alert alert-#{BOOSTRAP_MAPPING[kind]}">] +
31+
"<strong>#{kind.upcase}:</strong> " +
3132
content +
3233
%[</div></div>]
3334
end

0 commit comments

Comments
 (0)