asciidoctor / asciidoctor-leanpub-converter

A backend for AsciidoctorJ to generate Leanpub-flavoured Markdown
Apache License 2.0
16 stars 9 forks source link

Support for Literal blocks #18

Open ysb33r opened 9 years ago

ysb33r commented 9 years ago

Use mostly the same code as for source code, except do not add a language.

mojavelinux commented 9 years ago

Note that the converter isn't aware if a listing comes from a fenced block. There are only two types, literal and listing. Listing may have the "source" style. Literal will never have this style (because it automatically becomes a listing block when it has the "source" style).

ysb33r commented 7 years ago

I have changed the title and make this issue focus on Listing blocks. Implementation of Literal blocks is now tracked in #71. I have also removed any reference to Fenced blocks as per @mojavelinux's comment above.