While writing a document , how to use conditionals in asciidoctor, so that:
(a) I can output different text if I am outputting PDF
(b) and i can output different text when i am outputting html.
Something like this "PSEUDO-CODE" as following:
# My Test Document #
## Section 1 ##
line1
ifeval::[{document.basebackend} = "pdf"]
line2
elseifeval::[{document.basebackend} = "html5"]
line3
else::[]
line4
endif::[]
line5