|
The visual appearance that I want is one in which my headers are underlined all the way across the page.
On the web, I can simply add a border in CSS to my h1 or h2 tags that has a thickness of 1 on the bottom, and 0 on the other three sides.
That doesn't seem to be possible with the current options in the YAML style file. It seems you can only set one border.
I'm not a Ruby developer, but I traced it through the code as best as I could and it seems like even Prawn doesn't really support that at the moment.
I guess I have two related questions about this. Can somebody who has more experience with AsciiDoctor PDF confirm if I'm not just missing something obvious, and/or does anybody have a workaround that might get me what I'm aiming for? (Applying a single underline for my headers that spans the page.) I've considered just putting a horizontal rule after my headings, but that feels a bit hacky.
|