logstash/docs/static/codec.asciidoc
Nik Everett 169a04d55d
Docs: Fix backticks in how to docs (#11018)
In the "methods" sections of the how to develop a plugin docs
Asciidoctor as incorrectly passing backticks into the output when it
should have marked the words surrounded by backticks as code. I'm not
100% sure why it did that. The fix is to force macro evaluation
immediately on attribute assignment.
2019-08-21 09:07:12 -04:00

15 lines
524 B
Text

:register_method: true
:encode_method: true
:decode_method: true
:plugintype: codec
:pluginclass: Codecs
:pluginname: example
:pluginnamecap: Example
:blockinput: true
:getstarted: Let's step through creating a {plugintype} plugin using the https://github.com/logstash-plugins/logstash-codec-example/[example {plugintype} plugin].
:methodheader: pass:m[Logstash codecs must implement the `register` method, and the `decode` method or the `encode` method (or both).]
include::include/pluginbody.asciidoc[]