asciidoc

How to add an image to asciidoc book cover page?

空扰寡人 提交于 2019-12-03 17:02:52
问题 I would like to create a pdf book using asciidoc. The title page should include the title, subtitle and an image. So far I could not find any documentation on how to achive this. Intuivly I would do something like My book title ============= :author: myself :toc: image:images/titelimage.png[width=400] but this just adds image:images/titelimage.png[width=400] as a subtitle. What I would like to have is something like My book title <titleimage> subtitle Is there a way to do this in ascciidoc?

How to add an image to asciidoc book cover page?

倾然丶 夕夏残阳落幕 提交于 2019-12-03 05:59:24
I would like to create a pdf book using asciidoc. The title page should include the title, subtitle and an image. So far I could not find any documentation on how to achive this. Intuivly I would do something like My book title ============= :author: myself :toc: image:images/titelimage.png[width=400] but this just adds image:images/titelimage.png[width=400] as a subtitle. What I would like to have is something like My book title <titleimage> subtitle Is there a way to do this in ascciidoc? If not, what do I need to do to get this? If you're using asciidoctor-pdf you can define an attribute