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 <p>"text generated from .asc file"</p>
Thanks
thank you all for the info
I suspect it doesn't. PR welcome.
As described in https://github.com/cryogen-project/cryogen-asciidoc, you can only configure attributes and custom macros currently.
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 https://github.com/asciidoctor/asciidoctorj#conversion-options )
Also https://discuss.asciidoctor.org/Custom-HTML-template-td1944.html
It seems cryogen uses haml html5 template https://github.com/asciidoctor/asciidoctor-backends/blob/master/haml/html5/section.html.haml
Does cryogen allow configuration of the asciidoc rendering?
The config page seems emtpy https://cryogenweb.org/docs/configuration.html
Oops. Thanks for pointing it out. Taking a look now.
Found the problem. Will apply fix and push shortly.
Fixed and published. Thanks again @eugen.stan
nice
I'm not sure, but take a look at https://github.com/cryogen-project/cryogen-asciidoc