Fork me on GitHub
Andrei Stan10:11:52

hello, i am using Cryogen for a static website. The pages are converted into HTML from .asc ; I am using Chrome, and i do not understand how the classes are applied for HTML elements: for example all the content of the pages have a wrapper with class="sect1" . Then i see the second child of this wrapper has class="sectionbody" etc... [1] Does anyone knows how can i modify those classes? It somehow ruins my plans in using semantic-ui for styling. [2] Somehow, the Html paragraphs generated from .asc files contains text between double quotes

"text generated from .asc file"


Jakub Holý (HolyJak)15:11:39

AsciidoctorJ generates the classes so look at its docs. The " are there onouly in the DOM inspector or also in the html?


Asciidoctorj allows for a different template dir ( template_dirs in ) Also It seems cryogen uses haml html5 template Does cryogen allow configuration of the asciidoc rendering?

Andrei Stan16:11:08

thank you all for the info

Jakub Holý (HolyJak)19:11:44

I suspect it doesn't. PR welcome.

Jakub Holý (HolyJak)19:11:58

As described in, you can only configure attributes and custom macros currently.


Oops. Thanks for pointing it out. Taking a look now.


Found the problem. Will apply fix and push shortly.


Fixed and published. Thanks again @U011NGC5FFY

👍 6
❤️ 3