My first extension based on "83.5. Block Processor Example"

Posted by DrAscii on
URL: https://discuss.asciidoctor.org/My-first-extension-based-on-83-5-Block-Processor-Example-tp7705.html

Hi guys,

I started with AsciiDoc(tor) a few days ago. My problem: I have zero ruby skills so I need help with my first little extension.

What I do right know

Without the extension I write often something like this:

[.feature]
--
*Feature*

abc

123
--

What I would like to have

[feature]
abc
+
123

(This should lead to the same HTML as my current workaround.)

What I found so far

After reading the manual I think the chapter 83.5 Block Processor Example is the part I'm looking for. But I have no idea how to adapt the code to my needs and get it running. Maybe you can add another example based on my request to the manual? I think other people are looking for similar things.

Thanks!

Best regards
DrAscii